-
Notifications
You must be signed in to change notification settings - Fork 78
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
Small fix to the attestation signature language #135
base: main
Are you sure you want to change the base?
Conversation
Pushed a few more small changes |
Co-authored-by: Ted Thibodeau Jr <[email protected]>
There are conflicts |
2. The object ****MAY**** have a `replies` property, and if present its value ****MUST**** be an array of *Message Result Objects*{#message-results-objects}, which are constructed as follows: | ||
1. The object ****MUST**** have a `messageId` property, and its value ****MUST**** be the stringified [Version 1 CID](https://docs.ipfs.io/concepts/content-addressing/#identifier-formats) of the associated message in the [*Request Object*](#request-object) from which it was received. | ||
2. The object ****MUST**** have a `status` property, and its value ****MUST**** be an object composed of the following properties: | ||
- The status object ****MUST**** have a `code` property, and its value ****MUST**** be an integer set to the [HTTP Status Code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) appropriate for the status of the response. | ||
- The status object ****MAY**** have a `message` property, and if present its value ****MUST**** be a string that describes a terse summary of the status. It is ****recommended**** that the implementer set the message text to the standard title of the HTTP Status Code, when a title/message has already been defined for that code. | ||
- The status object ****MAY**** have a `text` property, and if present its value ****MUST**** be a string that describes a terse summary of the status. It is ****recommended**** that the implementer set the message text to the standard title of the HTTP Status Code, when a title/message has already been defined for that code. |
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 status object ****MAY**** have a `text` property, and if present its value ****MUST**** be a string that describes a terse summary of the status. It is ****recommended**** that the implementer set the message text to the standard title of the HTTP Status Code, when a title/message has already been defined for that code. | |
- The status object ****MAY**** have a `text` property, and if present its value ****MUST**** be a string that describes a terse summary of the status. It is ****RECOMMENDED**** that the implementer set the message text to the standard title of the HTTP Status Code, when a title/message has already been defined for that code. |
@@ -490,12 +490,12 @@ Responses from Interface method invocations are JSON objects that ****MUST**** b | |||
1. The object ****MUST**** include an `requestId` property, and its value ****MUST**** be the [[spec:rfc4122]] UUID Version 4 string from the `requestId` property of the [*Request Object*](#request-object) it is in response to. | |||
2. The object ****MAY**** have a `status` property if an error is produced from a general request-related issue, and if present its value ****MUST**** be an object composed of the following properties: | |||
- The status object ****MUST**** have a `code` property, and its value ****MUST**** be an integer set to the [HTTP Status Code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) appropriate for the status of the response. | |||
- The status object ****MAY**** have a `message` property, and if present its value ****MUST**** be a string that describes a terse summary of the status. It is ****recommended**** that the implementer set the message text to the standard title of the HTTP Status Code, when a title/message has already been defined for that code. | |||
- The status object ****MAY**** have a `text` property, and if present its value ****MUST**** be a string that describes a terse summary of the status. It is ****recommended**** that the implementer set the message text to the standard title of the HTTP Status Code, when a title/message has already been defined for that code. |
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 status object ****MAY**** have a `text` property, and if present its value ****MUST**** be a string that describes a terse summary of the status. It is ****recommended**** that the implementer set the message text to the standard title of the HTTP Status Code, when a title/message has already been defined for that code. | |
- The status object ****MAY**** have a `text` property, and if present its value ****MUST**** be a string that describes a terse summary of the status. It is ****RECOMMENDED**** that the implementer set the message text to the standard title of the HTTP Status Code, when a title/message has already been defined for that code. |
@cwarny are you willing to make these fixes? |
Assigning you for now and we can move it off later if you are unavailable. |
motion to close this unless there is an intent to fix conflicts in the PR |
Fixing a small inconsistency in the spec regarding what needs signing in the attestation field of a message