- REST service for updating meta
- Kafka Consumer for listening to video delete events (non-functional)
make run
make docker-build
Uses AWS
implementation of tagging to allow user-centric metadata to be applied
to videos.
for more detailed and opertational calls see example.sh
POST http://localhost:8080/<video_id> <payload>
-> CREATE meta data for a video payload:
[
{
"key": "<some_key>",
"value": "<some_value>"
},
{
"key": "<some_key>",
"value": "<some_value>"
}
]
GET http://localhost:8080/<video_id>
-> READ all meta for a videoPUT http://localhost:8080/<meta_id> <payload>
-> UPDATE meta data for a video payload:
{
"key": "<some_key>",
"value": "<some_value>"
}
DELETE http://localhost:8080/<meta_id>
-> DELETE meta data for a video- Deleting of all information for a video would be done via listening for
an event by a kafka consumer see
./consumer/consumer.go
All requests require the following headers:
X-API-KEY: SUPER_SECRET
Content-Type: application/json
Is intentionally extremely flexible