Skip to Content
Static Data

List available resource types

GET
/static/resource-types

Query Parameters

page?integer

Number of the page to be retrieved

Range1 <= value
per_page?integer

Number of items returned per page

Range1 <= value <= 100

Header Parameters

Accept*string

application/json

Authorization*string

Bearer {{access_token}}

Content-Type*string

application/json

Response Body

Ok

application/json
  1. response
[index: integer]?|null
Example Request
curl -X GET 'https://api.devopness.com/static/resource-types?page=1&per_page=25' \  -H 'Accept: application/json' \  -H 'Authorization: Bearer <your_api_token>' \  -H 'Content-Type: application/json'
Example Response200
[  {    "resource_type": "application",    "resource_type_human_readable": "Application",    "resource_type_human_readable_plural": "Applications",    "supported_operations": [      {        "operation": "deploy",        "operation_human_readable": "Deploy",        "pipeline_settings": {          "max_pipelines_per_resource": 1,          "is_user_managed": true,          "supports_trigger_comment": true,          "stages": [            {              "value": "remove-old-releases",              "human_readable": "Remove old releases",              "hint": "Some text here describing this field for end users"            }          ],          "variables": [            {              "name": "source_type",              "human_readable": "Source type",              "hint": "Some text here describing this field for end users",              "type": "string",              "required": true            }          ]        }      }    ],    "can_be_child_of": [      {        "resource_type": "application",        "resource_type_human_readable": "Application",        "resource_type_human_readable_plural": "Applications",        "can_be_linked": true      }    ],    "can_be_parent_of": [      {        "resource_type": "application",        "resource_type_human_readable": "Application",        "resource_type_human_readable_plural": "Applications",        "can_be_linked": true      }    ]  }]