/v1/channel-connections/{id}/listings (GET)
GET
/v1/channel-connections/{id}/listings
const url = 'http://localhost:8787/v1/channel-connections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/listings';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8787/v1/channel-connections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/listings \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”Every resource mapped to this connection.
Media typeapplication/json
object
listings
required
Array<object>
object
connectionId
required
string format: uuid
id
required
string format: uuid
resourceId
required
string format: uuid
Examplegenerated
{ "listings": [ { "connectionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "resourceId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } ]}No such channel connection for this tenant.
Media typeapplication/problem+json
object
code
required
string
detail
required
string
status
required
number
title
required
string
type
required
string
Example
{ "code": "resource_not_found"}