Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Add support for genre/form of work in the API request and response. Create a new object property with name _genreReference within the Work section of the API request and response.
Properties in the object:
id: ID of the genre form
label: label of the genre form (655$a)
GET API response:
Include both id and label in the response of GET /resource/{id} API
PUT & POST API request
Discard the label property of the request payload. Connect the work to the resource identified by the given id
Acceptance criteria:
Genre/form of work should be returned in the response of GET /resource/{id} API
PUT and POST /resource/id API should accept genre/form in the request payload.
Add support for genre/form of work in the API request and response. Create a new object property with name
_genreReference
within the Work section of the API request and response.Properties in the object:
id: ID of the genre form
label: label of the genre form (655$a)
GET API response:
Include both
id
andlabel
in the response ofGET /resource/{id}
APIPUT & POST API request
Discard the
label
property of the request payload. Connect the work to the resource identified by the givenid
Acceptance criteria:
Genre/form of work should be returned in the response of GET /resource/{id} API
PUT and POST /resource/id API should accept genre/form in the request payload.