Pull API \ Retrieve the videos of a YouTube user

Resource/URI @Pinterest GET POST PUT DELETE
Retrieve User's Pinterest Boards /pull/identities/<identity_token>/pinterest/boards.json Retrieve Boards
Resource/URI @YouTube GET POST PUT DELETE
Retrieve User's YouTube Videos /pull/identities/<identity_token>/youtube/videos.json Retrieve Videos
Resource/URI @LinkedIn GET POST PUT DELETE
Retrieve User's LinkedIn Companies /pull/identities/<identity_token>/linkedin/companies.json Retrieve Companies

Workflow

Request: the code to send to the API

Send a GET request to the endpoint /pull/identities/<identity_token>/youtube/videos.json to retrieve the videos of a YouTube created by a user. The <identity_token> is obtained whenever one of your users connects using a social network account.

To be able to use this endpoint, YouTube must be fully configured for your OneAll Site. You can pull video using our Push API.

Result: the code returned by the API

Resultset Example

{
    "response": {
        "request": {
            "date": "Mon, 12 Mar 2018 12:13:54 +0100",
            "resource": "/pull/identities/88888888-4444-4444-4444-121212121212/youtube/videos.json",
            "status": {
                "flag": "success",
                "code": 200,
                "info": "Your request has been processed successfully"
            }
        },
        "result": {
            "data": {
                "count": 2,
                "entries": [
                    {
                        "id": "B9jngPmmDGU",
                        "title": "Video title 1",
                        "description": "Video description 1",
                        "channel_id": "yHfeJkl3VRKqRC0gQkqhyyVg"
                    },
                    {
                        "id": "Edktpqsh8No",
                        "title": "Video title 2",
                        "description": "Video description 2",
                        "channel_id": "yHfeJkl3VRKqRC0gQkqhyyVg"
                    }
                ]
            }
        }
    }
}

User Contributed Notes