Create Action Environment Repository
Creates an action environment repository
Request
URI
POST
https://{api_host}/vco/api/environments/repositories
COPY
Request Body
actionEnvironmentRepository
of type(s)
application/json
Required
Show optional properties
{
"runtime": "string",
"location": "string",
"basicAuth": false
}
{
"relations": {
"startIndex": 0,
"count": 0,
"total": 0,
"link": [
{
"rel": "string",
"type": "string",
"attributes": [
{
"name": "string",
"displayName": "string",
"value": "string",
"displayValue": "string"
}
],
"href": "string"
}
]
},
"id": "string",
"name": "string",
"runtime": "string",
"location": "string",
"href": "string",
"basicAuth": false,
"systemUser": "string",
"systemCredentials": "string"
}
object
relations
Optional
relations
string
id
Optional
id
string
name
Optional
name
string
runtime
Required
runtime
string
location
Required
location
string
href
Optional
href
boolean
basicAuth
Required
basicAuth
string
systemUser
Optional
systemUser
string
systemCredentials
Optional
systemCredentials
Responses
201
The request is successful
Returns
actionEnvironmentRepository
of type(s)
application/json
"actionEnvironmentRepository Object"
object
relations
Optional
relations
string
id
Optional
id
string
name
Optional
name
string
runtime
Required
runtime
string
location
Required
location
string
href
Optional
href
boolean
basicAuth
Required
basicAuth
string
systemUser
Optional
systemUser
string
systemCredentials
Optional
systemCredentials
401
The user is not authorized
Returns
actionEnvironmentRepository
of type(s)
application/json
"actionEnvironmentRepository Object"
object
relations
Optional
relations
string
id
Optional
id
string
name
Optional
name
string
runtime
Required
runtime
string
location
Required
location
string
href
Optional
href
boolean
basicAuth
Required
basicAuth
string
systemUser
Optional
systemUser
string
systemCredentials
Optional
systemCredentials
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"basicAuth:"boolean","location:"string","runtime:"string"}' https://{api_host}/vco/api/environments/repositories
Action Environments Repositories Service Operations
GET
Get Action Environment Repository
PUT
Update Action Environment Repository
DELETE
Delete Action Environment Repository
GET
Get All Action Environment Repositories
POST
Create Action Environment Repository