mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Update API docs with latest version
This commit is contained in:
@@ -578,13 +578,7 @@ paths:
|
||||
"@id": http://test.host/api/dfc/enterprises/10000/platforms
|
||||
dfc-t:platforms:
|
||||
"@type": rdf:List
|
||||
"@list":
|
||||
- "@type": dfc-t:Platform
|
||||
"@id": https://api.proxy-dev.cqcm.startinblox.com/profile
|
||||
localId: cqcm-dev
|
||||
dfc-t:hasAssignedScopes:
|
||||
"@type": rdf:List
|
||||
"@list": []
|
||||
"@list": []
|
||||
"/api/dfc/enterprises/{enterprise_id}/platforms/{platform_id}":
|
||||
parameters:
|
||||
- name: enterprise_id
|
||||
@@ -634,24 +628,18 @@ paths:
|
||||
dfc-t:hasAssignedScopes:
|
||||
"@type": rdf:List
|
||||
"@list":
|
||||
- "@id": https://example.com/scopes/ReadEnterprise
|
||||
- "@id": https://github.com/datafoodconsortium/taxonomies/releases/latest/download/scopes.rdf#ReadEnterprise
|
||||
"@type": dfc-t:Scope
|
||||
dfc-t:scope: ReadEnterprise
|
||||
- "@id": https://example.com/scopes/WriteEnterprise
|
||||
- "@id": https://github.com/datafoodconsortium/taxonomies/releases/latest/download/scopes.rdf#WriteEnterprise
|
||||
"@type": dfc-t:Scope
|
||||
dfc-t:scope: WriteEnterprise
|
||||
- "@id": https://example.com/scopes/ReadProducts
|
||||
- "@id": https://github.com/datafoodconsortium/taxonomies/releases/latest/download/scopes.rdf#ReadProducts
|
||||
"@type": dfc-t:Scope
|
||||
dfc-t:scope: ReadProducts
|
||||
- "@id": https://example.com/scopes/WriteProducts
|
||||
- "@id": https://github.com/datafoodconsortium/taxonomies/releases/latest/download/scopes.rdf#WriteProducts
|
||||
"@type": dfc-t:Scope
|
||||
dfc-t:scope: WriteProducts
|
||||
- "@id": https://example.com/scopes/ReadOrders
|
||||
- "@id": https://github.com/datafoodconsortium/taxonomies/releases/latest/download/scopes.rdf#ReadOrders
|
||||
"@type": dfc-t:Scope
|
||||
dfc-t:scope: ReadOrders
|
||||
- "@id": https://example.com/scopes/WriteOrders
|
||||
- "@id": https://github.com/datafoodconsortium/taxonomies/releases/latest/download/scopes.rdf#WriteOrders
|
||||
"@type": dfc-t:Scope
|
||||
dfc-t:scope: WriteOrders
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
||||
Reference in New Issue
Block a user