Skip to content
CtrlK

Endpoints

The viewneo API provides RESTful endpoints for managing media files, playlists, devices, and other resources.

The complete endpoint reference is available through the interactive Swagger UI:

https://cloud.viewneo.com/doc/api

Swagger UI allows you to:

  • Browse all available endpoints with their HTTP methods
  • View request parameters and response schemas
  • Test endpoints directly in your browser
  • See example request and response payloads

All endpoints use the following base URL:

https://cloud.viewneo.com/api/v1.0/
MethodEndpointDescription
GET/playlistList all playlists
POST/playlistCreate a new playlist
GET/playlist/{id}Get a specific playlist
PUT/playlist/{id}Update a playlist
DELETE/playlist/{id}Delete a playlist
GET/mediafileList all media files
POST/mediafileCreate/upload a media file
GET/deviceList all devices
GET/devicegroupList all device groups

The API expects data in JSON format. Include the following headers:

Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN
Terminal window
curl -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
-d '{"name": "My Playlist", "comment": "Created via API"}' \
'https://cloud.viewneo.com/api/v1.0/playlist'

Response:

{
"name": "My Playlist",
"comment": "Created via API",
"company_id": 221,
"updated_at": "2017-01-24 16:37:20",
"created_at": "2017-01-24 16:37:20",
"id": 16047
}