Create a connection descriptor
post
/admin/connectionDescriptors
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Nested Schema : ConnectionDescriptor
Type:
Show Source
object
-
adapter-id: string
-
client-controlled-security: object
client-controlled-security
-
endpoint-name: string
-
endpoint-url: string
-
fabric-facing-auth: object
Fabric-facing-auth
-
header-enrichment: object
header-enrichment
Additional Properties Allowed: additionalProperties
-
internal-adapter-app-config: object
Internal-adapter-app-config
-
merge-policy: string
-
routing: string
-
system-descriptor: string
-
timeout-variance: string
-
type: string
Allowed Values:
[ "internal", "external" ]
Nested Schema : client-controlled-security
Type:
Show Source
object
-
inbound-auth-header-key: string
-
usage-of-inbound-auth-header: string
Allowed Values:
[ "DROP", "FORWARD" ]
Match One Schema
Show Source
Nested Schema : Oidc-client-credentials
Type:
Show Source
object
-
audience: string
-
client-id: string
-
client-identity-propagation-required: boolean
-
client-secret: string
-
fixed-user-for-user-assertion: string
-
identity-uri: string
-
inbound-token-custom-claim-to-scope-mapping: object
inbound-token-custom-claim-to-scope-mapping
Additional Properties Allowed: additionalProperties
-
inbound-token-scopes-from: array
inbound-token-scopes-from
Minimum Number of Items:
1
-
oidc-auth-server-audience: string
-
oidc-flow: string
Allowed Values:
[ "client-token", "user-assertion-token", "fixed-user-assertion-token" ]
-
oidc-server: string
-
scope: string
-
usage-of-inbound-token-scopes: string
Default Value:
IGNORE
Allowed Values:[ "INCLUDE", "IGNORE", "ONLY" ]
Nested Schema : inbound-token-custom-claim-to-scope-mapping
Type:
object
Additional Properties Allowed
Show Source
-
array additionalProperties
Minimum Number of Items:
1
Nested Schema : inbound-token-scopes-from
Type:
array
Minimum Number of Items:
1
Default Value:
Show Source
[
"JWT_SCOPES"
]
-
Array of:
string
Allowed Values:
[ "JWT_SCOPES", "JWT_CUSTOM_CLAIM" ]
Response
Supported Media Types
- application/json
201 Response
Created
Nested Schema : ConnectionDescriptor
Type:
Show Source
object
-
adapter-id: string
-
client-controlled-security: object
client-controlled-security
-
endpoint-name: string
-
endpoint-url: string
-
fabric-facing-auth: object
Fabric-facing-auth
-
header-enrichment: object
header-enrichment
Additional Properties Allowed: additionalProperties
-
internal-adapter-app-config: object
Internal-adapter-app-config
-
merge-policy: string
-
routing: string
-
system-descriptor: string
-
timeout-variance: string
-
type: string
Allowed Values:
[ "internal", "external" ]
Nested Schema : client-controlled-security
Type:
Show Source
object
-
inbound-auth-header-key: string
-
usage-of-inbound-auth-header: string
Allowed Values:
[ "DROP", "FORWARD" ]
Match One Schema
Show Source
Nested Schema : Oidc-client-credentials
Type:
Show Source
object
-
audience: string
-
client-id: string
-
client-identity-propagation-required: boolean
-
client-secret: string
-
fixed-user-for-user-assertion: string
-
identity-uri: string
-
inbound-token-custom-claim-to-scope-mapping: object
inbound-token-custom-claim-to-scope-mapping
Additional Properties Allowed: additionalProperties
-
inbound-token-scopes-from: array
inbound-token-scopes-from
Minimum Number of Items:
1
-
oidc-auth-server-audience: string
-
oidc-flow: string
Allowed Values:
[ "client-token", "user-assertion-token", "fixed-user-assertion-token" ]
-
oidc-server: string
-
scope: string
-
usage-of-inbound-token-scopes: string
Default Value:
IGNORE
Allowed Values:[ "INCLUDE", "IGNORE", "ONLY" ]
Nested Schema : inbound-token-custom-claim-to-scope-mapping
Type:
object
Additional Properties Allowed
Show Source
-
array additionalProperties
Minimum Number of Items:
1
Nested Schema : inbound-token-scopes-from
Type:
array
Minimum Number of Items:
1
Default Value:
Show Source
[
"JWT_SCOPES"
]
-
Array of:
string
Allowed Values:
[ "JWT_SCOPES", "JWT_CUSTOM_CLAIM" ]
400 Response
Bad Request
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
401 Response
Unauthorized
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
403 Response
Forbidden
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
404 Response
Not Found
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
409 Response
Conflict
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
500 Response
Internal Server Error
Root Schema : Error
Type:
object
Used when an API throws an Error, typically with a HTTP error response-code (3xx, 4xx, 5xx)
Show Source
-
@baseType: string
When sub-classing, this defines the super-class.
-
@schemaLocation: string
(uri)
A URI to a JSON-Schema file that defines additional attributes and relationships
-
@type: string
When sub-classing, this defines the sub-class entity name.
-
code(required): string
Application relevant detail, defined in the API or a common list.
-
message: string
More details and corrective actions related to the error which can be shown to a client user.
-
reason(required): string
Explanation of the reason for the error which can be shown to a client user.
-
referenceError: string
(uri)
URI of documentation describing the error.
-
status: string
HTTP Error code extension
Examples
The following example shows how to create a connection descriptor by submitting a POST request on the REST resource using cURL.
cURL Command
curl -H 'Authorization: Bearer <Token>' -X POST
https://{FABRIC_HOST}/admin/connectionDescriptors -H
"Content-Type: application/json" -D @create_connectionDescriptors.json |
json_pp
Example of Request Body
The following shows an example of the request body in JSON format.
{ "endpoint-name": "flytxt162", "endpoint-url": "https://fusovmsmc76-fa-ext.us.oracle.com/crmRestApi/resources/", "fabric-facing-auth": { "oidc-client-credentials": { "client-id":"48eb39a9a7cb4bc0b7761ebb821ada97", "client-secret":"ade2cdde-6c94-4be2-b525-29f575a9c3fc", "identity-uri": "https://idcs-322c58839d80453186f91eb606042ad2.identity.oraclecloud.com/oauth2/v1/token", "scope": "https://n6jfxzxt6schvqjkpge6uqfrum.apigateway.us-ashburn-1.oci.customer-oci.comurn:opc:resource:consumer::" } }, "type": "external", "system-descriptor": "/systemDescriptors/buyingvp8zg" }
Example of Response Body
The following shows an example of the response body in JSON format.
{ "merge-policy": "NotMergeParticipant", "endpoint-name": "flytxt162", "endpoint-url": "https://fusovmsmc76-fa-ext.us.oracle.com/crmRestApi/resources/", "fabric-facing-auth": { "oidc-client-credentials": { "identity-uri": "https://idcs-322c58839d80453186f91eb606042ad2.identity.oraclecloud.com/oauth2/v1/token", "scope": "https://n6jfxzxt6schvqjkpge6uqfrum.apigateway.us-ashburn-1.oci.customer-oci.comurn:opc:resource:consumer::", "oidc-flow": "user-assertion-token", "client-identity-propagation-required": false } }, "id": "flytxt162khh45", "type": "external", "system-descriptor": "/systemDescriptors/buyingvp8zg" }