Start Core Hub FastAPI replacement foundation
This commit is contained in:
parent
75963233b6
commit
1e87adbcbb
37 changed files with 3292 additions and 30 deletions
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"}
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue