URLs for a collection of resources are formed from the resource type. For example a collection of resources of type sites
will have the URL:
/api/v2/sites
Treat collections of resources as sets keyed by resource ID. The URL for an individual resource can be formed by appending the resource ID to the collection URL.
For example, a site with an ID of “1” will have the URL:
/api/v2/sites/1
A related resource URL is formed by appending the name of the relationship to the resource URL.
For example, the URL for a site API keys will be:
/api/v2/sites/1/nao_api_keys