Hi there,
currently, Iām working on publish record through content management API, hereās my example code
async function publishRecord() {
const res = await client.item.publish('UR_-UEwVSMeHP3e_LbqadA', {
content_in_locales: [''],
non_localized_content: true,
})
}
publishRecord()
And I got a 422 ApiException error:
ApiException: 422 INVALID_FORMAT (details: {āmessagesā:[ā#/data: failed schema #/definitions/item/links/13/schema/properties/data: "id" is not a permitted key.ā]})