Skip to content

Profile extensions #957

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

Closed
wants to merge 23 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b09bc3d
Error object: add `type` link
ethanresnick Dec 26, 2015
ad623ef
Content Negotiation: update rules to account for `profile` parameter
ethanresnick Dec 26, 2015
3de79bf
Content negotiation: explain what a media type parameter is
ethanresnick Dec 26, 2015
dcf70a5
Query parameters: clean up
ethanresnick Dec 26, 2015
b09d759
Add the concept of "mappings"
ethanresnick Dec 26, 2015
c023bb1
Remove `code` member from error objects
ethanresnick Dec 26, 2015
348aa8d
Add anchor to the definition of a single link
ethanresnick Dec 27, 2015
715060e
Cleanup `code` formatting
ethanresnick Dec 28, 2015
c2ae234
Error object: clarify pointer member
ethanresnick Dec 28, 2015
ae1ac9b
Error objects: specify `missing` member
ethanresnick Dec 29, 2015
9b8235d
Add profile extension rules!
ethanresnick Dec 29, 2015
6cf30a9
Deprecate the old extension system
ethanresnick Dec 29, 2015
624b138
Extension registration: add new procedures
ethanresnick Dec 29, 2015
4ca869c
Merge remote-tracking branch 'origin' into profile-extensions
ethanresnick Apr 13, 2016
60d1652
Merge remote-tracking branch 'origin' into profile-extensions
ethanresnick Apr 13, 2016
2ff62f6
Merge remote-tracking branch 'origin/gh-pages' into profile-extensions
ethanresnick Apr 27, 2016
a22cc0e
"mappings" => "aliases" and remove naming restriction
ethanresnick Apr 27, 2016
baf3376
Error object: clarify that the code member isn't strictly "removed"
ethanresnick Apr 27, 2016
226141b
Extensions: Make registration optional but encouraged
ethanresnick Apr 27, 2016
f787eac
meta start
ethanresnick Apr 27, 2016
8510772
Merge remote-tracking branch 'origin/profile-extensions' into profile…
ethanresnick Apr 27, 2016
190079f
Merge branch 'gh-pages' into profile-extensions
ethanresnick Jul 15, 2017
f4ff261
Fix merge error
ethanresnick Jul 15, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Error object: add type link
This enables the client to distinguish between different error
conditions that share the same status code, by matching on the `type`
URI.

This is needed for the extension system, where the client needs to
distinguish between the `profile` parameter not being supported by
server, vs. the client providing insufficient profile extensions, both
of which trigger a 415.

This is the start of what I suggested in #683.
  • Loading branch information
ethanresnick committed Dec 26, 2015
commit b09bc3db64406c94348404a4149e46a61cc9400b
4 changes: 4 additions & 0 deletions _format/1.1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1768,6 +1768,10 @@ An error object **MAY** have the following members:
* `links`: a [links object][links] containing the following members:
* `about`: a [link][links] that leads to further details about this
particular occurrence of the problem.
* <a id="error-objects-links-type"></a>`type`: a [link][link] whose URI
identifies the type of error that this particular error is an instance of.
When dereferenced, this URI **SHOULD** provide a human-readable explanation
of the general error.
* `status`: the HTTP status code applicable to this problem, expressed as a
string value.
* `code`: an application-specific error code, expressed as a string value.
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy