Get All Agency Environments

Gets the API runtime environments for the specified agency, including the environment's API provider and version. The environments are configured on Construct Admin Portal > Agencies > {agencyHost}:AgencyInfo > Environments.

Resource Information

Scopeagencies

Deprecated scope name:   get_agency_environments

App TypeAll
Authorization TypeNo authorization required
URI /v4/agencies/{name}/environments
HTTP MethodGET
Automation Version(s)All

Request Information

Field or ParameterTypeRequiredValuesDescriptionAutomation Version
namestringYesThe name of the agency.All

Example

Sample Request

GET https://apis.accela.com/v4/agencies/ISLANDTON/environments
	  

Response Information

FieldTypeDescriptionAutomation Version
result[]result{}An array containing the environments for the requested agency.All
result.namestringThe name of an agency's API runtime environment, as configured on Construct Admin Portal > Agencies > {agencyHost}:AgencyInfo > Environments.All
result.productstringThe API provider product, such as "AA" for (Civic Platform) Automation.All
result.versionstringThe version of the API provider product, as specified on Construct Admin Portal > Agencies > {agencyHost}:AgencyInfo > Environments.All
statusintegerThe return status.All

Example

Sample Response Body

{
  "status": 200,
  "result": [
    {
      "name": "TEST",
      "version": "8.0.0",
      "product": "AA"
    },
    {
      "name": "SUPP",
      "version": "8.0.0",
      "product": "AA"
    },
    {
      "name": "PROD",
      "version": "8.0.0",
      "product": "AA"
    }
  ]
}