Video object view

Documentation for using the OSSN API's GET method to retrieve the details of a single video item. The response includes core video data along with the user's like status (is_liked_by_user), total likes, and the last three reactions for enhanced display on the OSSN platform.

Endpoint:

Method:

  • POST / GET

Parameter:

Parameter name Required Type Explain
api_key_token Yes string Your API key
guid Yes integer Poll guid

Example Response

{
    "merchant": "Premium Social Network",
    "url": "http:\/\/local.openteknik.com\/",
    "time_token": 1632229778,
    "payload": {
        "video": {
            "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"
        }
    },
    "code": "100",
    "message": "Request successfully executed"
}

Services View All