-
Notifications
You must be signed in to change notification settings - Fork 10
Create fb-provider-off-exchange-api.yaml #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Scaffold, awaiting further content
| @@ -0,0 +1,28 @@ | |||
| openapi: 3.0.0 | |||
| info: | |||
| title: 'Fireblocks Provider Off-Exchange API' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We call an API a provider API, if it's something that a provider implements. In other cases it's just an API. Also we try to stick to the term "collateral" here, to avoid ambiguity. So, these things need to be changed:
- The filename should be
fb-collateral-api.yaml. - The title should be "Fireblocks Collateral API".
- Add
info.descriptionkey and explain there that this is an API implemented by Fireblocks as opposed to the other APIs here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| - name: collateralWebhooks | ||
| description: Webhook notifications sent by Fireblocks to exchanges for collateral events. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The webhooks implemented by providers should be specified in fb-provider-collateral-api.yaml. The endpoints could be under the usual collateral tag, or if you prefer collateralNotifications, or collateralWebhooks. It's only one endpoint and I wouldn't bother with a separate tag, personally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added here:
#207
| - name: offExchange | ||
| description: Endpoints used by external providers (exchanges) calling Fireblocks for off-exchange collateral flows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name should be collateral.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
…api.yaml Made corrections per PR196 as Yaniv advised.
klevi23
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revised per Yaniv's instructions; pending review.
| @@ -0,0 +1,28 @@ | |||
| openapi: 3.0.0 | |||
| info: | |||
| title: 'Fireblocks Provider Off-Exchange API' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| - name: offExchange | ||
| description: Endpoints used by external providers (exchanges) calling Fireblocks for off-exchange collateral flows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| - name: collateralWebhooks | ||
| description: Webhook notifications sent by Fireblocks to exchanges for collateral events. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added here:
#207
Scaffold, awaiting further content.