Channels

List time taken on shared channels by other projects

Projects the caller can read are described in full; every other project is anonymous. Drafts, cancelled and failed work are never reported.

GET
/api/projects/{projectId}/channel-occupancy

Authorization

headerAuthorizationBearer <Postdot API key>

A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.

Path Parameters

projectId*string
Length1 <= length

Query Parameters

from*integer
Range0 <= value
to*integer
Range1 <= value

Response Body

Response for status 200

application/json
  1. response
occupancy*array<>
Example Request
curl -X GET 'https://postdot.example/api/projects/string/channel-occupancy?from=0&to=1'
Example Response
{
  "occupancy": [
    {
      "channelId": "string",
      "at": 0,
      "state": "scheduled",
      "project": {
        "id": "string",
        "name": "string",
        "publicationId": "string",
        "title": "string"
      }
    }
  ]
}

Was this page helpful?