v1

latestOpenAPI 3.1.02026-07-245531,0212.1 MB
Resources

Resources by account

Return resources by account id

get/organizations/{organization_id}/accounts/{account_id}/resources

Path parameters

organization_idstring required

Organization Id of the Organization that you are working with. This can be found by looking at the organization id in the URL of the dashboard. These are randomly generated alphanumber values

account_idstring required

Account id of the CloudRanger Account that you are managing inside an organization, these can be found by call the /organizations/{organization_id}/accounts endpoints which returns all accounts inside an Organization These are randomly generated alphanumber values

Query parameters

extend'cr_configuration' required

Determines whether or not additional information will be returned for each resource. Additional information properties are hasBackupPolicy, hasSchedule, scheduleActive and lastBackupTime. Extend can only be cr_configuration if present

types'ec2' | 'ebs' | 'rds' | 'dynamodb' | 'redshift' required

A list of object types you want to perform the request against.

filterstring required

Filter object containing keys that can be one or more of [region, tags, types, hasbackuppolicy, hasschedule, resource_id, resource_name, accounts]. Values must be a an array of strings. EG: {"region": ["us-east-1"]}

pageSizeinteger required

The number of records to be returned for a single page for the request.

order'id' | 'type' | 'region' | 'hasbackuppolicy' | 'hasschedule' | 'lastbackup' | 'state.Name' required

The you want to order the result set in.

direction'asc' | 'desc' required

The direction you want to order the result set in.

offsetinteger required

Defines the offset from the first result you want to fetch.

Response

200 response

totalinteger