Creates a new API
POST {{baseUrl}}/apis
Creates a new API.
Request Body
{"content"=>"elit occaecat"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-retry-token | null | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations. For example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
might be rejected. | |||
opc-request-id | null | The client request id for tracing. | |
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: Created
{"compartmentId":"dolor eiusmod Excepteur adipisicing nisi","id":"Ut mollit ut sed","definedTags":{},"displayName":"nulla minim","freeformTags":{},"lifecycleDetails":"occaecat","lifecycleState":"FAILED","specificationType":"non nulla in pariatur","timeCreated":"1942-09-16T15:58:58.242Z","timeUpdated":"1984-02-03T05:37:16.654Z","validationResults":[{"name":"commodo","result":"OK"},{"name":"ipsum sit reprehenderit","result":"ERROR"}]}