Create a referencesTo

post

https://{your_site_interface}/opa-hub/api/12.2.34/deployments/{deployment-name}/referencesTo

This operation will create a referencesTo.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Security
  • Type: apiKey
    Description: Obtain a bearer token from https://{your_site_interface}/opa-hub/api/{API_version}/auth and use it in the Authorization header as: Bearer {token}.
  • Type: oauth2
    Description: POST the OAuth2 Client Credentials parameters to https://{your_site_interface}/opa-hub/api/{API_version}/auth and use the access token from the response in the Authorization header.
Back to Top

Response

Supported Media Types

201 Response

The request has been fulfilled and resulted in a new resource being created.
Body ()
Root Schema : referencesTo
Type: object
Show Source
Nested Schema : referencesToDeployments
Type: object
Show Source
Nested Schema : referencesToProjects
Type: object
Show Source
Nested Schema : entries
Type: array
Read Only: true
An array of deployment references,
Show Source
Nested Schema : referencesToDeploymentItem
Type: object
Show Source
Nested Schema : entries
Type: array
Read Only: true
An array of project references,
Show Source
Nested Schema : referencesToProjectItem
Type: object
Show Source

400 Response

The request could not be processed because it contains missing or invalid information.
Back to Top