Joystream / youtube-synch

YouTube Synchronization
11 stars 10 forks source link

YPP Status Suspended #34

Closed dmtrjsg closed 1 year ago

dmtrjsg commented 2 years ago

~Upon manual update of status in Airtable - trigger suspended email and send status to Atlas~

 Scope

⚠️ draft: (@zeeshanakram3 wilo implement the final schema and share the endpoint deets in the comment to the PR)- Create endpoint to receive a json file with along the lines of

Suggested basic: channel_ID suspended = true reason

dmtrjsg commented 1 year ago

Spoken to Martin, he confirmed that it would be sufficient to just be able to send a Json file with a list of accs with a secret API key. No CLI or GUI needed for this.

dmtrjsg commented 1 year ago

@zeeshanakram3 can you pls add the comment on how to test this (Api request format)

zeeshanakram3 commented 1 year ago

@zeeshanakram3 can you pls add the comment on how to test this (Api request format)

Here, is the API request format for suspend channel endpoint, you need to pass YPP owner secret key in the authorisation header.

image