8000 Added "allow" attribute for links to restrict access by aimeos · Pull Request #1126 · json-api/json-api · GitHub
[go: up one dir, main page]

Skip to content

Added "allow" attribute for links to restrict access #1126

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

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion _format/1.1/normative-statements.json
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ layout: null
"type": "normative-statements",
"attributes": {
"level": "MUST",
"description": "Each member of a links object is a \"link\". A link **MUST** be represented as either:\\n\\n- a string containing the link's URL.\\n- an object (\"link object\") which can contain the following members:\\n - `href`: a string containing the link's URL.\\n - `meta`: a meta object containing non-standard meta-information about the link."
"description": "Each member of a links object is a \"link\". A link **MUST** be represented as either:\\n\\n- a string containing the link's URL.\\n- an object (\"link object\") which can contain the following members:\\n - `href`: a string containing the link's URL.\\n - `allow`: a list of allowed HTTP methods like `[\"GET\", \"PATCH\", \"DELETE\"]` if access to the resource is restricted. - `meta`: a meta object containing non-standard meta-information about the link."
},
"relationships": {
"section": {
Expand Down
0