List of Environments
Changed onRequest
- Base URLhttps://example.app.liongard.com/api/v2
- URLhttps://example.app.liongard.com/api/v2/environments
- AuthAPI key in header X-ROAR-API-KEY
Query parameters
A integer indicating the current page index
A integer indicating the current page size
A comma-separated string indicating the columns
A string containing the response order
Response
Success
Example response
{
"Success": true,
"Data": [
{
"Name": "Contoso Nation",
"Visible": true,
"ExpiresOn": "2018-02-01T18:31:22.896Z",
"LastKeyRotation": "2018-02-01T18:31:22.896Z",
"CreatedOn": "2018-02-01T18:31:22.896Z",
"UpdatedOn": "2018-02-01T18:31:22.896Z",
"Tier": {
"CanDownGrade": true
},
"UpdatedBy": {
"FirstName": "John",
"LastName": "Doe",
"FullName": "John Doe",
"Email": "JDoe@contoso.com",
"Username": "j.doe.contoso",
"MfaFactorAuth": true,
"Status": "active",
"Owner": true,
"Visibile": true,
"Locked": true,
"Department": "Other",
"ReceiveTechUpdates": true,
"LastLogin": "2018-02-01T18:31:22.896Z",
"CreatedOn": "2018-02-01T18:31:22.896Z",
"UpdatedOn": "2018-02-01T18:31:22.896Z",
"Groups": []
},
"CreatedBy": {
"FirstName": "John",
"LastName": "Doe",
"FullName": "John Doe",
"Email": "JDoe@contoso.com",
"Username": "j.doe.contoso",
"MfaFactorAuth": true,
"Status": "active",
"Owner": true,
"Visibile": true,
"Locked": true,
"Department": "Other",
"ReceiveTechUpdates": true,
"LastLogin": "2018-02-01T18:31:22.896Z",
"CreatedOn": "2018-02-01T18:31:22.896Z",
"UpdatedOn": "2018-02-01T18:31:22.896Z",
"Groups": []
}
}
]
}Changes
- breaking
the response's body type changed from
arraytoobjectfor status - warning
deleted the
queryrequest parameterconditions[] - warning
deleted the
queryrequest parameterfields[] - info
api operation id
GetEnvironmentsremoved and replaced with - info
api tag
Environmentadded - info
api tag
Environmentsremoved - info
added the new optional
queryrequest parametercolumns - info
added the new optional
queryrequest parameterorderBy - info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterpageSize - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking