-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Master
-
Component/s: Headless CMS
-
Labels:
-
Epic/Theme:
-
Story Points:3
-
Epic Link:
-
Sprint:HEX #3 - APIs, HEX #4, HEX #9
API Capabilities
The consumer of this API will be able to:
- Retrieve the label of the fields of a structuredContent in order to be able to understand the information in it
Security requirements
The list should contain only the elements the user has permission to view. If a structured content is requested and the current user doesn't have permission to view it, a 404 error should be returned.
General requirements
The API should support at least Plain JSON, JSON-LD and HAL as output formats.
The consumer developer should be able to control which linked resources are embedded so that they can be retrieved along with a structured content in a single request.
The consumer developer can specify which fields are desired, to reduce the data transfer when the API is used from a consumer sensitive to it.
Acceptance Criteria
Given a structure like structure.json
and a structuredContent with that structure is created
when I retrieve through the API that content
Then the response includes the label like in JSONExample.json
- depends on
-
LPS-87402 filter and sort operations do not work when no accept-language header is set
- Closed