Filters and returns services for current Hub.
Can return services from all groups.
Request valid only in scope of Primary or Standalone Hub and can't be used in scope of a Connected Hub.
Alters behavior of sort_prop:
(default) If
per_group_sortistrue- Sort by thesort_propin each connected group individually,if
per_group_sortisfalse- Sort bysort_propglobally so output will contain connected services ignoring the order of connected groups.
This means that connected services from same connected group may be interleaved by connected services from different connected groups.
One exception ispositionsort_propwhich forcesper_group_sortto betrueregardless of actual value used in request.If
per_group_sortistruethe order of connected groups is always determined by connected groupposition.
Determines which property results should be sorted by.
The final sorting depends also on per_group_sort parameter:
- (default) If
per_group_sortistrue- Sort by thesort_propin each group individually, - if
per_group_sortisfalse- Sort bysort_propglobally so output will contain services ignoring the order of group.
This means that services from same group may be interleaved by services from different groups.
One exception ispositionsort_propwhich forcesper_group_sortto betrueregardless of actual value used in request.
If per_group_sort is true the order of groups is always determined by group position.
- Main US regionhttps://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/services
- EU regionhttps://subdomain-of-your-account.app-eu1.statushub.io/api/v3/hubs/{subdomain}/services
curl -i -X GET \
'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/services?group_id=1&archived=true&deleted=true&q=string&per_group_sort=true&sort_prop=position&sort_dir=asc&page=1&per_page=25&api_version=V3-R1' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "current_page": 1, "page_count": 4, "per_page": 25, "total": 1024, "data": [ { … } ] }