-
Notifications
You must be signed in to change notification settings - Fork 26
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
cleaning up http spec #370
Conversation
specs/http-api/README.md
Outdated
| ----------------- | ------------------------------------------------------------- | | ||
| `id` | see [DID-CORE spec](https://www.w3.org/TR/did-core/#services) | | ||
| `type` | `PFI` | | ||
| `serviceEndpoint` | PFI's publicly addressable API endpoint | |
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.
could we link this API endpoint to something?
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.
🤔 like to a spec?
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.
something like a common base API https://swagger.io/docs/specification/api-host-and-base-path/
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 766aba6
"createdAt": "2023-09-13T20:28:40.345Z", | ||
"protocol": "1.0" | ||
}, | ||
"data": {}, |
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.
is data present even if it's a null value?
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.
yep! order's data is empty.
specs/http-api/README.md
Outdated
"kind": "order", | ||
"id": "order_01ha83pkgsfk6t1kxg7q42s48j", | ||
"createdAt": "2023-09-13T20:28:40.345Z", | ||
"protocol": "1.0" |
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.
should this now be 2.0?
…pec mermaid diagram
Co-authored-by: Angie Jones <jones.angie@gmail.com>
… http-spec-cleanup
changes
Authentication
andAuthorization
headers for each protected endpoint description and added reference to top levelAuthentication
heading that explains how bearer did authn worksserviceEndpoint