CenterForDigitalHumanities / CenterForDigitalHumanities/TPEN-NL
Profile Header for 1.0 Requests
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
For a response which is processed using the v1 1.0 profile expectation (ex reading `new_obj_state`), the request must contain a Profile header request for the response under the v1.1 profile.
Ex.
```HTTP
Request:
POST /v1/create HTTP/1.1
Content-Type: application/json
Profile: http://storedev.rerum.io/profile1.0
body {"hello":"world"}
Response:
HTTP/1.1 201 Created
Content-Type: application/json
Accept-Profile: http://storedev.rerum.io/profile1.0
body {"@id":"https://example.item/id/123", "hello":"world", "new_obj_state":{...}}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files, tests, or entry points are identified. Start by locating the API request and response handling for v1 profile headers, then trace the `new_obj_state` response path; done means requests using the v1.0 profile include the required `Profile` header and receive the specified profile in the response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100