Skip to main content

List pending entries

GET 

/api/v1/resources/pending

Returns pending Platform / Device Type / Group references and pending Versions reported by devices that do not yet exist in the system. Filter by type to narrow to one kind.

Request

Query Parameters

    limit number

    Number of results to return (default: 100)

    offset number

    Offset for pagination (default: 0)

    status string

    Possible values: [PENDING, ACCEPTED, REJECTED]

    type string

    Possible values: [PLATFORM, DEVICE_TYPE, GROUP, VERSION]

Responses

List of pending resources retrieved successfully

Schema

    resources

    object[]

    required

  • Array [

  • id numberrequired
    type stringrequired

    Possible values: [PLATFORM, DEVICE_TYPE, GROUP, VERSION]

    token stringrequired

    Identifier of the pending entry. For PLATFORM/DEVICE_TYPE/GROUP it is the raw name/id token reported by the device; for VERSION it is "projectName@version".

    status stringrequired

    Possible values: [PENDING, ACCEPTED, REJECTED]

    reportedCount numberrequired
    firstReportedDate date-timerequired
    lastReportedDate date-timerequired
    reportingDeviceIds string[]required
    rawValues object
    reason string
    projectName string

    VERSION only: the project name of the pending version

    version string

    VERSION only: the pending version string

    catalogId string

    VERSION only: the reported catalog id

  • ]

  • total numberrequired
Loading...