Implemented
**Metadata-QA: Test Drive begins on Sep 16,2024 **
Metadata-Prod: Rollout scheduled on Sep 30,2024
Metadata Services V1.1 Environment Information:
Bank Baseurl: https://qa.metadata.services.pbs.org/rest/v1
Consumer Key / Consumer Secret: Click here to request access
| Artifacts | Location |
| Postman Collection and Environment | https://github.com/pbs-metadata/Metadata-Bank-APIs/tree/master/postman_collection |
SNS Notification Changes:
- Audit log fields will be added as updated fields, deleted fields
- SNS will include the field name that got updated in the updated fields section.
- SNS will include the field name that got deleted in the deleted fields section.
- Child record changes will be also added in the SNS.
- These changes will apply to all PUT endpoints except the endpoints listed below:
- Entity POST, DELETE, Publish status, contentID registration and de-registration.
Example Payload when user updated title, primary language and keywords:
EXAMPLE 1:
{
"Action": "Updated",
"PublishedStatus": "Internally Published",
"EntityURL": "https://api.metadata.services.pbs.org/rest/v1/episode/cid:org:pbs.org:Episode52818",
"EntityType": "Episode",
"EpisodeUID": "cid:org:pbs.org:Episode52818",
"CreateDateTime": "2024-07-30T20:38:59Z",
"UpdateDateTime": "2024-07-30T20:41:23Z",
"CreatedBy": "1297181",
"UpdatedBy": "1292766",
"Source": "Rightsline",
"ContentIDList": [
{
"ContentID": "cid:org:pbs.org:Rightsline-107279"
},
{
"ContentID": "cid:org:pbs.org:NOLARoot:WEAX"
},
{
"ContentID": "cid:org:pbs.org:NOLACode:WEAX 000105"
},
{
"ContentID": "cid:org:pbs.org:Broadview-666262406"
}
],
"UpdatedFields":
{
"Title,
Primary Language,
Keywords->General "
}
Example Payload when user deleted organization from Episode:
EXAMPLE 2 :
{
"Action": "Updated",
"PublishedStatus": "Internally Published",
"EntityURL": "https://api.metadata.services.pbs.org/rest/v1/episode/cid:org:pbs.org:Episode52818",
"EntityType": "Episode",
"EpisodeUID": "cid:org:pbs.org:Episode52818",
"CreateDateTime": "2024-07-30T20:38:59Z",
"UpdateDateTime": "2024-07-30T20:41:23Z",
"CreatedBy": "1297181",
"UpdatedBy": "1292766",
"Source": "Rightsline",
"ContentIDList": [
{
"ContentID": "cid:org:pbs.org:Rightsline-107279"
},
{
"ContentID": "cid:org:pbs.org:NOLARoot:WEAX"
},
{
"ContentID": "cid:org:pbs.org:NOLACode:WEAX 000105"
},
{
"ContentID": "cid:org:pbs.org:Broadview-666262406"
}
],
"DeletedFields":
"[
OrganizationList: OrganizationID:55555555 , Role
]"
}