AFP-Medialab / verification-plugin

A verification “Swiss army knife” helping journalists, fact-checkers, and human rights defenders to save time and be more efficient in their fact-checking and debunking tasks on social networks especially when verifying videos and images
23 stars 2 forks source link

Loccus API change #521

Closed ttramb closed 1 month ago

ttramb commented 1 month ago

API change:

We are writing to inform you that, next week, we will be rolling out a platform upgrade that changes the way audio handles are generated in the platform. After the change, audio handles will be randomly generated when you upload an audio to the platform. Two small things are needed from client side:

  1. Don't send audio handle when calling the audio upload endpoint (https://api.loccus.ai/v1/spaces/{owner}/{space}/audios)
  2. For later verification, use the audio handled that is returned when calling the audio upload endpoint (https://api.loccus.ai/v1/spaces/{owner}/{space}/audios) You can already perform this logic change. After the release, if you specify a handle in the audio upload request it will be ignored, and a random one will be generated and responded: