Video list

Documentation for using the OSSN API's GET method to retrieve a list of videos belonging to a specific container. Pass parameters to filter the list by type (user, group, or business page) and the corresponding ID on the OSSN platform.

Endpoint:

Method:

  • POST

Parameter:

Parameter name Required Type Explain
api_key_token Yes string Your API key
container_type Yes string user or `group
container_guid No integer container guid
offset no integer -

**Example Response **

{
    "merchant": "Premium Social Network",
    "url": "http:\/\/local.openteknik.com\/",
    "time_token": 1632229382,
    "payload": {
        "list": [
            {
                "guid": 124,
                "time_created": 1632228257,
                "owner_guid": 1,
                "description": "Testing",
                "title": "Testing",
                "type": "user",
                "subtype": "video",
                "container_guid": "1",
                "container_type": "user",
                "file:video": "http:\/\/local.openteknik.com\/video\/file\/124\/c8ffe9a587b126f152ed3d89a146b445.mp4",
                "file:cover": "http:\/\/local.openteknik.com\/video\/cover\/124\/c8ffe9a587b126f152ed3d89a146b445.jpg"
            },
            {
                "guid": 85,
                "time_created": 1631541699,
                "owner_guid": 1,
                "description": "asfasf",
                "title": "trasf",
                "type": "user",
                "subtype": "video",
                "container_guid": "1",
                "container_type": "user",
                "file:video": "http:\/\/local.openteknik.com\/video\/file\/85\/3ef815416f775098fe977004015c6193.mp4",
                "file:cover": "http:\/\/local.openteknik.com\/video\/cover\/85\/3ef815416f775098fe977004015c6193.jpg"
            }
        ],
        "offset": false,
        "count": 2
    },
    "code": "100",
    "message": "Request successfully executed"
}

NOTE
The endpoints are updated you will now receive additional parameters total_likes total_comments and cl_entity_guid you will need cl_entity_guid to fetch a comments/likes for type entity

Services View All