User Tools

Site Tools


api:iptv:epg:credit:set

API : IPTV: EPG : Credit : Set

Introduction

This request is used to upload a picture of the credited person. Supported formats are PNG and JPG.

The upload must be performed as a multipart/form-data post request.

Request

URL https://api.telecomx.dk/iptv/epg/credit/NAME
Method POST
Access level ADMIN.
Params NAME Name of person
Body file Binary image data
url URL to download image from - instead of uploading a binary

Request example

https://api.telecomx.dk/iptv/epg/credit/Sean%20Connery

Response

Json object
success Boolean True on success.

Example

{
  "success": true,
  "image": "123456789012345678901234"
}

Errors

Error code Message Description
404 file The file was missing or invalid
422 file Filetype must be PNG or JPG
403 access_denied Insufficient access level
500 internal_error Failed to scale/crop image
500 internal_error <unspecified>
api/iptv/epg/credit/set.txt · Last modified: 2021/02/16 12:20 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki