/time.json

Get request responds with server time.

get

/user_create.json

Used to create a user. Creates a user when email and password is POSTed to server. Successful response includes "success" and UserRecord object.

post

/user.json

Endpoint to get user data. When authToken is sent to server, successful JSON response contains "success", userRecord and userData objects.

post

/user_data.json

Endpoint used to change user data. Either name or password can be changed.

post

/create_project.json

Endpoint used to create project. POST auth token and project object.

post

/get_projects.json

Endpoint to get projects. POST auth token for projects array.

post

/get_projects_list.json

Endpoint to get projects. POST auth token for projects list.

post

/get_project.json

Endpoint to get project object. POST authToken and projectId for project object.

post

/update_project.json

Endpoint to update project.

put

/delete_project.json

Endpoint to delete project.

delete

/get_project_domains.json

Endpoint to get project domains project.

post

/get_images_list.json

Endpoint to get images list. Can only be requested with projectID, or limit + page, because Firebase does not allow multiple filters

post

/get_images.json

Endpoint to get user images. If authToken provided then

post

/create_image.json

Endpoint to create image. This endpoint also create an image-slug in the 'imageSlugsData' object. Each image-slug is corresponded to a pair of user ID and image ID. By looking up the image-slug our serivce is able to find the user and the image.

post

/update_image.json

Endpoint to update image.

put

/delete_image.json

Endpoint to delete image (mark image status as "pending_remove").

delete

/create_image_spot.json

Endpoint to create image spot.

post

/update_image_spot.json

Endpoint to update image spot.

put

/delete_image_spot.json

Endpoint to delete image spot.

delete

/get_image.json

Endpoint to get image.

get
post

/users.json

Endpoint to fetch all user data to admin users

post

/plans.json

put

/get_payment_details.json

Endpoint to get paymentDetails object.

post

/update_view_count.json

Endpoint to update viewcount.

post

/update_hotspot_count.json

Endpoint to update hotspot count.

post

/get_analytics_by_imageid.json

Endpoint to get analytics using imageId.

post

/get_analytics.json

Endpoint to get analytics.

post