Dedicates one configured source, at the exact revision this node has applied, to a provider profile; administering the source is checked through the composition port.
POST
/v1/m/sessions/provider-source-bindings
const url = 'https://example.com/v1/m/sessions/provider-source-bindings';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"profile_ref":"example","source_id":"example","source_revision":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/m/sessions/provider-source-bindings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "profile_ref": "example", "source_id": "example", "source_revision": 1 }'Dedicates one configured source, at the exact revision this node has applied, to a provider profile; administering the source is checked through the composition port.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “ Header Parameters ” X-Olivares-Tenant
string format: uuid
Target tenant id; required when the principal can act in more than one tenant.
Request Body required
Section titled “ Request Body required ” Media type application/json
object
profile_ref
required
The provider profile the source is dedicated to.
string
source_id
required
Persistent id of the durable source roster row (not its editable name).
string
source_revision
required
The revision this node’s runtime has successfully applied; any other value is refused as stale.
integer
Example generated
{ "profile_ref": "example", "source_id": "example", "source_revision": 1}Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}Bad request
Media type application/json
object
Example generated
{}Unauthenticated
Media type application/json
object
Example generated
{}Forbidden
Media type application/json
object
Example generated
{}Not found
Media type application/json
object
Example generated
{}Conflict / setup required
Media type application/json
object
Example generated
{}Rate limited
Media type application/json
object
Example generated
{}