Skip to content

Direct Relationship

By default, each of Deploy's API endpoints (i.e.: /projects/, /sites/, /locations/, etc) returns all user-accessible resources mixed together.

You can limit the returned results be specifying search criteria using query parameters.

For example, if you want to return the Sites which belong to the Project with ID 1701, we can add the query parameter project=1701 to the Sites endpoint URI:

List Sites > Which belong to Project ID 1701

/api/projects/sites/?project=1701

Try the URI above and replace the Project ID with one you can access.