Pixela API Document

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

API Index


POST /v1/users - Create a user

PUT /v1/users/<username> - Update a user

DELETE /v1/users/<username> - Delete a user

User Profile

GET /@<username> - View user profile

PUT /@<username> - Update user profile


POST /v1/users/<username>/graphs - Create a graph

GET /v1/users/<username>/graphs - Get graph definitions

GET /v1/users/<username>/graphs/<graphID>/graph-def - Get a graph definition

GET /v1/users/<username>/graphs/<graphID> - Get a graph SVG

PUT /v1/users/<username>/graphs/<graphID> - Update a graph

DELETE /v1/users/<username>/graphs/<graphID> - Delete a graph

GET /v1/users/<username>/graphs/<graphID>.html - View a graph detail

GET /v1/users/<username>/graphs/<graphID>/pixels - Get graph pixels list

GET /v1/users/<username>/graphs/<graphID>/stats - Get a graph stats

POST /v1/users/<username>/graphs/<graphID>/stopwatch - Measuring and recording time


POST /v1/users/<username>/graphs/<graphID> - Post a pixel

GET /v1/users/<username>/graphs/<graphID>/<yyyyMMdd> - Get a pixel

PUT /v1/users/<username>/graphs/<graphID>/<yyyyMMdd> - Update a pixel

PUT /v1/users/<username>/graphs/<graphID>/increment - Increment a pixel

PUT /v1/users/<username>/graphs/<graphID>/decrement - Decrement a pixel

DELETE /v1/users/<username>/graphs/<graphID>/<yyyyMMdd> - Delete a pixel


GET /v1/users/<username>/graphs/<graphID>/<yyyyMMdd>/retina - Displays the Pixel in a higher resolution


POST /v1/users/<username>/webhooks - Create a webhook

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

POST /v1/users/<username>/webhooks/<webhookHash> - Invoke a webhook

DELETE /v1/users/<username>/webhooks/<webhookHash> - Delete a webhook