Fetch information of an existing Hub
Fetch information of an existing Hub including the list of APIs it contains. The response follows the APIs.json specification
Path parameters
-
UUID or slug of a Hub which can be CI deployment settings page of your hub
GET
/hubs/{hub_id_or_slug}
curl \
-X GET https://bump.sh/api/v1/hubs/{hub_id_or_slug} \
-H "Authorization: Token $ACCESS_TOKEN"
Response examples (200)
{
"name": "My train company hub",
"description": "# Welcome to my train company\n\nThis hub contains all APIs belonging to [my train company](https://demo.bump.sh/).\nFeel free to visit the documentation or changes of our APIs lifecycle.\n",
"url": "https://demo.bump.sh/",
"created": "2022-01-07",
"modified": "2022-04-07",
"apis": [
{
"id": "3ef8f52f-9056-4113-840e-2f7183b90e06",
"name": "Bump",
"description": "This is the official Bump API documentation. Obviously created with Bump.",
"slug": "bump",
"url": "https://developers.bump.sh/",
"version": "1.0",
"properties": [
{
"type": "x-access-level",
"data": "string"
}
],
"created": "2022-01-07",
"modified": "2022-04-07"
}
]
}
Response examples (200)
{
"name": "My train company hub",
"description": "# Welcome to my train company\n\nThis hub contains all APIs belonging to [my train company](https://demo.bump.sh/).\nFeel free to visit the documentation or changes of our APIs lifecycle.\n",
"url": "https://demo.bump.sh/",
"created": "2022-01-07",
"modified": "2022-04-07",
"apis": [
{
"id": "3ef8f52f-9056-4113-840e-2f7183b90e06",
"name": "Bump",
"description": "This is the official Bump API documentation. Obviously created with Bump.",
"slug": "bump",
"url": "https://developers.bump.sh/",
"version": "1.0",
"properties": [
{
"type": "x-access-level",
"data": "string"
}
],
"created": "2022-01-07",
"modified": "2022-04-07"
}
]
}