Opened 5 years ago

Last modified 5 years ago

#1076 new enhancement

videos are not supported in the API

Reported by: Jessica Tallon Owned by:
Priority: major Milestone:
Component: programming Keywords: api, media types, video
Cc: Parent Tickets:

Description (last modified by Jessica Tallon)

You should be able to upload and interact with videos like you can with images now. There is support for this in the Activity Streams 1.0 specification, if I have understood this correctly we will want to produce an API object which looks something like:

{
    "id": "https://gmg.site.tld/api/video/someid",
    "objectType": "video",
    "displayName": "Title of this video",
    "embedCode": "<html><to><embed></embed></to></html>",
    "stream": {
        "url": "https://gmg.site.tld/path/to/video.ogv",
    },
    "author": {
        "id": "acct:someone@gmg.site.tld",
        ...
    },
    "url": "https://gmg.site.tld/html/version/for/users/click"
}

Pump.io does have a model to store a video which is here. This notably in addition to the base attributes all objects share (id, objectType, etc.) it also has:

Subtickets

Change History (1)

comment:1 Changed 5 years ago by Jessica Tallon

Description: modified (diff)
Note: See TracTickets for help on using tickets.