Joystream / youtube-synch

YouTube Synchronization
11 stars 9 forks source link

Verified Satuses and Suspended reasons #258

Closed dmtrjsg closed 10 months ago

dmtrjsg commented 11 months ago

Extend suspended status with Reason (enum)

Target state of verification status:

  1. Unverified
  2. Verified + Tier
  3. Suspended + Reason
  4. Opted out

Tiers: Bronze Silver Gold Diamond

Suspended reasons:

Copyright breach Misleading content Program terms exploit Unsupported topic 🆕 Verification postponed

dmtrjsg commented 11 months ago

@zeeshanakram3 pls add example of requests and endpoint that covers all statuses we have

zeeshanakram3 commented 11 months ago

@zeeshanakram3 pls add example of requests and endpoint that covers all statuses we have

dev env documentation: https://52.204.147.11.nip.io/docs/#/channels/ChannelsController_suspendChannels

endpoint: PUT /channels/suspend

body:

[
  {
    "joystreamChannelId": 0,
    "reason": "SubparQuality"
  }, 
  ...
]

List of reasons: [ SubparQuality, DuplicateContent, UnsupportedTopic, ProgramTermsExploit ]

WRadoslaw commented 11 months ago

@zeeshanakram3 could we add ChannelYppStatus from src/type/youtube into the ChannelDto declaration for swagger in src/services/httpApi/dtos to get an enum on the playground instead of string?

dmtrjsg commented 11 months ago

@zeeshanakram3 Let's please change the wording of the suspended reasons:

Copyright breach
Misleading content
Program terms exploit
Unsupported topic
🆕 Verification postponed
zeeshanakram3 commented 11 months ago

@zeeshanakram3 could we add ChannelYppStatus from src/type/youtube into the ChannelDto declaration for swagger in src/services/httpApi/dtos to get an enum on the playground instead of string?

Add, you can see here

image
dmtrjsg commented 11 months ago

We don't need the verification postponed as will be going with "unverified" for such channels.

dmtrjsg commented 11 months ago

change request to update the list of reasons: