generated from coulomb/repo-seed
Start Core Hub FastAPI replacement foundation
This commit is contained in:
6
contracts/fixtures/api-v2/protected/unauthorized.json
Normal file
6
contracts/fixtures/api-v2/protected/unauthorized.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"detail": {
|
||||
"code": "unauthorized",
|
||||
"message": "Missing bearer token"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"hub_slug": "core-hub",
|
||||
"manifest_version": "0.1.0",
|
||||
"capabilities": [
|
||||
"capability.infotech.core-hub",
|
||||
"api.v2.compatibility",
|
||||
"contract.ir"
|
||||
],
|
||||
"endpoints": [
|
||||
{"rel": "hubs", "href": "/api/v2/hubs"},
|
||||
{"rel": "events", "href": "/api/v2/interaction-events"},
|
||||
{"rel": "widgets", "href": "/api/v2/widgets"}
|
||||
]
|
||||
}
|
||||
]
|
||||
17
contracts/fixtures/api-v2/public/hubs.json
Normal file
17
contracts/fixtures/api-v2/public/hubs.json
Normal file
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"slug": "core-hub",
|
||||
"name": "Core Hub",
|
||||
"status": "active",
|
||||
"description": "Third-generation production interaction framework.",
|
||||
"capabilities": [
|
||||
"hub-registry",
|
||||
"interaction-events",
|
||||
"workplan-coordination",
|
||||
"operator-console"
|
||||
],
|
||||
"links": [
|
||||
{"rel": "self", "href": "/api/v2/hubs/core-hub"}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user