Get Policy

Get Policy

Get policy

Request
URI
GET
https://{api_host}/vco/api/policies/{id}
COPY
Path Parameters
string
Required

Responses
200

The request is successful

Returns policy of type(s) application/json
"policy Object"
array of object
eventHandlers
Optional

eventHandlers

string
href
Optional

href

object
relations
Optional

relations

string
name
Required
Constraints: minLength: 1 maxLength: 100

name

string
description
Optional
Constraints: minLength: 0 maxLength: 1024

description

array of object
policy-item
Optional

policy-item

array of object
parameter
Optional

parameter

string
priority
Optional

priority

Possible values are : VERY_LOW, LOW, MEDIUM, HIGH, VERY_HIGH,
string
startup
Optional

startup

Possible values are : MANUAL, AUTOMATIC,
string
state
Optional

state

Possible values are : STARTED, STOPPED, STOPPING, STARTING,
string
id
Optional

id

string
started-by
Optional

started-by


401

The user is not authorized

Operation doesn't return any data structure

404

Cannot find a policy with the specified ID or the user does not have 'read' rights over it

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/vco/api/policies/{id}