Domain Patterns
Retrieves a collection of domain patterns for the specified codebase.
get/codebases/{codebaseId}/domain-patterns
Request
- Base URLhttps://api.acquia.com/v3
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
codebaseIdstring required
Unique identifier for the codebase.
Query parameters
offsetinteger
Example:20
The number of items to skip before starting to collect the result set.
limitinteger
Example:10
The maximum number of items to return per page.
sortstring
Sort the result set by one or more fields. Format: field1,field2,-field3 Sort order:
- No prefix - Ascending order (default)
- - prefix - Descending order Multiple fields:
- Fields are processed in the order specified
- First field has highest priority
- Use comma to separate multiple fields Examples:
- name - Sort by name in ascending order
- -created_at - Sort by created_at in descending order
- name,-created_at - Sort by name ascending, then created_at descending
- status,name,-updated_at - Sort by status ascending, then name ascending, then updated_at descending
Response
OK
Example response
{
"_links": {
"self": {
"href": "https://api.acquia.com/v3/resources?sort=name,-created_at"
},
"sort": {
"href": "https://api.acquia.com/v3/resources{?sort}",
"templated": true
}
},
"_embedded": {
"items": [
{
"id": "1",
"name": "Resource 1",
"_links": {
"self": {
"href": "https://api.acquia.com/v3/resources/1"
}
}
},
{
"id": "2",
"name": "Resource 2",
"_links": {
"self": {
"href": "https://api.acquia.com/v3/resources/2"
}
}
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.