MENU
    /api/stations/v1/interfaces
    • 17 Oct 2024
    • 7 Minutes to read
    • Contributors

    /api/stations/v1/interfaces


    Article summary

    Get
    /api/stations/v1/interfaces

    Gets a paginated, filtered, and sorted list of interfaces.

    Query parameters
    limit
    integer

    Limit the number of items listed.

    Minimum0
    Example1
    offset
    integer

    Return documents after a certain offset. Use with limit to paginate the response.

    Minimum0
    Example0
    sort
    string

    Sort the result by 'name', 'lastModified.at', and 'created.at'. Separate by a comma. Specify descending sort with a '-' character.

    Responses
    200

    A paginated list of interfaces.

    Collapse all
    object
    items
    Array of object (InterfaceSummary)
    object

    Contains summary information about an interface.

    Example{ "id": "swM2aGebq5MjhKafN", "name": "iPad 5", "type": "computer", "stationId": "78M2aGebq5MjhKafN", "registration": { "status": "pending", "mode": "link", "link": { "player": "http://acme.tulip.co/open-player?tulip-player=eyJhY3Rpb24iOiJyZWdpc3RlclVzaW5nUmVnaXM0cmF0aW9uSWRl", "browser": "http://acme.tulip.co/w/DEFAULT/player?registrationIdentifier=Ak72m5fU6_o1E16ARx-ewh-5x2CmmfBLoBkk0KFcUBI" } }, "created": { "at": "2023-03-08T12:17:24Z", "by": { "id": "90M2aGebq5MjhKafN", "type": "user" } }, "workspaces": { "scope": "specific", "workspaceIds": [ "56M2aGebq5MjhKafN" ] } }
    id
    Exampleg56RCoZCtzv7borvp
    name
    string

    The name of the interface.

    type
    string

    The type of the interface.

    Valid values[ "computer", "mobile" ]
    stationId
    Exampleg56RCoZCtzv7borvp
    registration
    object (InterfaceRegistration)

    The registration information for the interface.

    clientInfo
    object (InterfaceClientInfo)

    The client information for the interface.

    created
    lastModified
    archived
    workspaces
    object (WorkspaceMembership)

    A description of the workspaces of which a resource is a member. Workspace membership can have one of two scope values. A scope of all means that a resource is a member of all current and future workspaces. A scope of the value specific means that a resource is a member of a set of particular workspaces as described by the workspaceIds property.

    Example{ "scope": "specific", "workspaceIds": [ "DEFAULT" ] }
    count
    number

    The total number of items that matched the list parameters.

    Example10
    nextPage
    string (url)

    A URL at which the next page of results can be fetched.

    prevPage
    string (url)

    A URL at which the previous page of results can be fetched.

    errors
    Array of object (PaginatedItemError)

    A list of errors per item that is omitted from the paginated response, if any.

    object
    Example{ "errorCode": "generic.internal", "message": "Something went wrong.", "retryable": false, "details": { "id": "invalidRecordId" } }
    400

    An error occurred. The Tulip error codes generic.customerIdRequired, generic.workspaceIdRequired, generic.invalidParams, http.invalidBodyJson, http.invalidHeaders, http.multiValueHeader, generic.limitParamNonNegativeInt, generic.limitParamBounds, generic.offsetParamNonNegativeInt, and generic.sortParamUnsupportedField all use the 400 HTTP status code. See the documentation of the response content schema for details on these specific Tulip errors that could result in this status code.

    Collapse all
    OneOf
    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    details
    object
    headerName
    string

    The name of the given HTTP header which had multiple values.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    details
    object
    upperBound
    integer

    The maximum allowed value for the limit parameter.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    details
    object
    unsupportedFields
    Array of string

    The names of the given fields which are not supported.

    string
    401

    The request was missing required authentication information.

    This error is not automatically retryable.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    429

    Too many requests have been made to this endpoint in a short time period.

    This error is not automatically retryable.

    Collapse all
    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    details
    object
    details
    string

    Additional details about this endpoint's rate limits.

    500

    An error occurred. The Tulip error codes generic.internal and stations.internalTypeValidationError both use the 500 HTTP status code. See the documentation of the response content schema for details on these specific Tulip errors that could result in this status code.

    Collapse all
    OneOf
    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    object
    errorCode
    string

    A machine-readable code identifying the type of error.

    Pattern^[a-zA-Z0-9.]$
    message
    string

    A human-readable description of the error intended for debugging purposes only.

    The exact content of this message is not stable.

    retryable
    boolean

    Whether the request can be automatically retried by the client.

    details
    object
    resourceName
    string

    The name of the resource that failed validation.

    resourceId
    string

    The id of the resource that failed validation.


    Was this article helpful?