Download OpenAPI specification:Download
This service is used to discover bridge interfaces that operate on forges. More information about this can be found on GitHub
A bridge component that talks the bridge protocol and is able to affect changes to the forge that it manages.
A forge can have multiple interfaces. North Star is used to map relationships between a forge and the interfaces that operate on it, acting like a telephone direcory. This endpoint is used to register an interface against a forge in North Star
Interface object that needs to be added to the discovery service
interface_url | string The publicly accessible URL of the bridge interface |
forge_url | Array of strings The publicly accessible URL of the forge that this interface manages. If a forge is known by more than one URL(separate bug tracker, and different fetch and push URLs for git), then mention them all in this field |
{ }
{- "errcode": "F_D_EMPTY_FORGE_LIST",
- "error": "The forge list submited is empty. An interface should handle at least one forge."
}
To setup a bridge, an interface that can talk to the target forge must be identified. North Star is a lookup service that makes this possible. This endpoint is used to get all interfaces registered the queried forge
Forge URL
forge_url | string The publicly accessible URL of the bridge interface |
{ }
{- "interfaces": [
]
}