Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMAGEDAM 2050: Graphics usage placeholder #4386

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Conalb97
Copy link
Contributor

@Conalb97 Conalb97 commented Dec 6, 2024

What does this change?

This adds a new endpoint for a 'Graphics' usage. The purpose of this usage type is so that we can indicate on an images metadata, when it has been used for the BBC Graphics tool.

This is a placeholder usage though, as it may change based on further investigation on how we want other integrations with BBC systems to work.

How should a reviewer test this change?

Deploy this branch and usinig POSTMAN or programmatically, make an API call to:

/usages/graphics

with json payload:

{ "data":{ "addedBy":"some user", "mediaId":"some media id", "dateAdded":"2024-01-02T00:00:00.000Z" } }

How can success be measured?

  • The API call is successful
  • A graphics usage is added to the images metadata

Tested? Documented?

  • locally by committer
  • locally by Guardian reviewer
  • on the Guardian's TEST environment
  • relevant documentation added or amended (if needed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant