Pixela API Document

API Document for Pixela ( https://pixe.la/ ) .

Entries from 2019-04-24 to 1 day

DELETE - /v1/users/<username>/webhooks/<webhookHash>

Description Delete the registered Webhook. HTTP Method , API endpoint DELETE /v1/users/<username>/webhooks/<webhookHash> Help page Webhook - Pixela Help Center Request Header Key Description X-USER-TOKEN [required] It is the authentication token specified at the</webhookhash></username>…

POST - /v1/users/<username>/webhooks/<webhookHash>

Description Invoke the webhook registered in advance. It is used "timezone" setting as post date if Graph's "timezone" is specified, if not specified, calculates it in "UTC". Help page Webhook - Pixela Help Center HTTP Method , API endpoin…

GET - /v1/users/<username>/webhooks

Description Get all predefined webhooks definitions. Help page Webhook - Pixela Help Center HTTP Method , API endpoint GET /v1/users/<username>/webhooks Request Header Key Description X-USER-TOKEN [required] It is the authentication token specified </username>…

POST - /v1/users/<username>/webhooks

Description Create a new Webhook. Help page Webhook - Pixela Help Center HTTP Method , API endpoint POST /v1/users/<username>/webhooks Request Header Key Description X-USER-TOKEN [required] It is the authentication token specified at the time of use</username>…

DELETE - /v1/users/<username>/graphs/<graphID>/<yyyyMMdd>

Description Delete the registered "Pixel". HTTP Method , API endpoint DELETE /v1/users/<username>/graphs/<graphID>/<yyyyMMdd> Request Header Key Description X-USER-TOKEN [required] It is the authentication token specified at the time of user registration. Possible err</yyyymmdd></graphid></username>…

PUT - /v1/users/<username>/graphs/<graphID>/decrement

Description Decrement quantity "Pixel" of the day (it is used "timezone" setting if Graph's "timezone" is specified, if not specified, calculates it in "UTC"). If the graph type is int then -1 added, and for float then -0.01 added. Help pa…

PUT - /v1/users/<username>/graphs/<graphID>/increment

Description Increment quantity "Pixel" of the day (it is used "timezone" setting if Graph's "timezone" is specified, if not specified, calculates it in "UTC"). If the graph type is int then 1 added, and for float then 0.01 added. Help page…

PUT - /v1/users/<username>/graphs/<graphID>/<yyyyMMdd>

Description Update the quantity already registered as a "Pixel". If target "Pixel" not exist, create a new "Pixel" and set quantity. HTTP Method , API endpoint PUT /v1/users/<username>/graphs/<graphID>/<yyyyMMdd> Request Header Key Description X-USER-TOKEN [required] </yyyymmdd></graphid></username>…

GET - /v1/users/<username>/graphs/<graphID>/<yyyyMMdd>

Description Get registered quantity as "Pixel". HTTP Method , API endpoint GET /v1/users/<username>/graphs/<graphID>/<yyyyMMdd> Request Header Key Description X-USER-TOKEN [required] It is the authentication token specified at the time of user registration. Possible e</yyyymmdd></graphid></username>…

POST - /v1/users/<username>/graphs/<graphID>

Description It records the quantity of the specified date as a "Pixel". HTTP Method , API endpoint POST /v1/users/<username>/graphs/<graphID> Request Header Key Description X-USER-TOKEN [required] It is the authentication token specified at the time of user </graphid></username>…

GET - /v1/users/<username>/graphs/<graphID>/stats

Description Based on the registered information, get various statistics. Help page Graph - Pixela Help Center HTTP Method , API endpoint GET /v1/users/<username>/graphs/<graphID>/stats Possible errors by HTTP response status code 404 Not Found This error occ</graphid></username>…

GET - /v1/users/<username>/graphs/<graphID>/pixels

Description Get a Date list of Pixel registered in the graph specified by graphID. You can specify a period with from and to parameters. If you do not specify both from andto; You will get a list of 365 days ago from today. If you specify …

GET - /v1/users/<username>/graphs/<graphID>.html

Description Displays the details of the graph in html format. Help page Graph - Pixela Help Center HTTP Method , API endpoint GET /v1/users/<username>/graphs/<graphID>.html Query Parameter Key type Description mode string [optional] You can get a very simple</graphid></username>…

DELETE - /v1/users/<username>/graphs/<graphID>

Description Delete predefined pixelation graph definition. Help page Graph - Pixela Help Center HTTP Method , API endpoint DELETE /v1/users/<username>/graphs/<graphID> Request Header Key Description X-USER-TOKEN [required] It is the authentication token spec</graphid></username>…

PUT - /v1/users/<username>/graphs/<graphID>

Description Update predefined pixelation graph definitions.The items that can be updated are limited as compared with the pixelation graph definition creation. Help page Graph - Pixela Help Center HTTP Method , API endpoint PUT /v1/users/<username>/</username>…

GET - /v1/users/<username>/graphs/<graphID>

Description Based on the registered information, express the graph in SVG format diagram. Help page Graph - Pixela Help Center HTTP Method , API endpoint GET /v1/users/<username>/graphs/<graphID> Query Parameter Key Type Description date string [optional] If</graphid></username>…

GET - /v1/users/<username>/graphs

Description Get all predefined pixelation graph definitions. Help page Graph - Pixela Help Center HTTP Method , API endpoint GET /v1/users/<username>/graphs Request Header Key Description X-USER-TOKEN [required] It is the authentication token specif</username>…