List the sources no endpoint claims
const url = 'https://example.com/api/v1/unclaimed-sources';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/unclaimed-sourcesThe unclaimed-source inbox: each source a listener heard from that no endpoint claims (a webhook post to an unknown or rotated token), with how often, when first and last, and its last message cut to 512 bytes. Bounded at 256 sources per listener, the least recently heard evicted, and aged out after seven days; a source is let go once its messages land on an endpoint. Claim one by creating its endpoint. Gated by outpost:read on an all-scope grant: it is the listener’s own observation, and listeners are fleet-wide as outposts are.
Responses
Section titled “ Responses ”OK
object
A URL to the JSON Schema for this object.
A device an outpost heard from that no endpoint claims yet, waiting to be adopted or ignored.
object
How many messages it sent that nothing claimed
When the listener first heard from it
The listener’s host: server, for the webhook route
When the listener last heard from it
Its last message, cut to 512 bytes: a stranger’s body is untrusted data, so no more of it is kept
The sender’s address
The push transport the source sent over
Example
{ "$schema": "/api/v1/schemas/ListUnclaimedSourcesOutputBody.json"}default
Section titled “ default ”Error
object
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
Optional list of individual error details
object
Where the error occurred, e.g. ‘body.items[3].tags’ or ‘path.thing-id’
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
A URI reference to human-readable documentation for the error.
Example
{ "$schema": "/api/v1/schemas/ErrorModel.json", "detail": "Property foo is required but is missing.", "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "about:blank"}