Skip to content

Simplify profiles for v1.1 #1456

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

Merged
merged 8 commits into from
Feb 12, 2020
Merged

Simplify profiles for v1.1 #1456

merged 8 commits into from
Feb 12, 2020

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented Feb 5, 2020

This PR makes progress on the move to simplify profiles for v1.1 of the spec, as outlined in #1435.

This continues work that's been merged already to unify profile negotiation. PR #1413 changed profiles to be purely opt-in by the server to align with RFC 6906.

This PR makes the following additional changes:

  • Removes the ability for profiles to assign meaning to reserved query params such as filter and page. RFC 6906 states that "A profile MUST NOT change the semantics of the resource representation when processed without profile knowledge, so that clients both with and without knowledge of a profiled resource can safely use the same representation.". Since these params are intended to provide processing instructions, they are inappropriate for profiles.

  • Moves profile authoring guidelines out of the base spec and into the non-normative recommendations page.

  • Removes guarantees about profile registration and publication on jsonapi.org.

@gabesullice
Copy link
Contributor

@dgeb and I reviewed this together. This has been open for a week without comment. Merging...

@gabesullice gabesullice merged commit f845a33 into gh-pages Feb 12, 2020
@dgeb dgeb deleted the simplify-profile-language branch February 12, 2020 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
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