API Guide

],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
"messageParams": [
"string"
]
}
]
}
default — Success or error response
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
"messageParams": [
"string"
]
}
]
}
POST /fabrics-intents/{id}/approval-request
Requests approval for a specific fabric intent.
API
POST /fabrics-intents/{id}/approval-request
Description This API sends an approval request for a specific fabric intent approval. Fabric intent needs to be approved before
it can be deployed. Once this request is received, the fabric intent will then be placed in pending-approval. Once
the approval is received, then the fabric intent will change the state to approved. If the fabric intent is already in
pending-approved state, this API is ignored.
Parameters
Table 34. API parameters
Filter name Description
*id
string
(path)
Unique identifier of the fabric intent. For example:
41:51776466356076705
Responses 200 — Success or error response
{
"new_object_id": null,
"id": "fabric_intent_approval_request_success",
"message": "Fabric Intent approval request raised successfully",
"messageParams": [],
"messages": [
{
"id": "fabric_intent_approval_request_success",
"message": "Fabric Intent approval request raised successfully",
"field_name": null,
Fabrics-intents 71