The documentation for the SSEMMI open API project.
POST https://acartia.io/api/v1/password-resets
| Name | Type | Description |
|---|---|---|
| String | Email address to receive the password reset token. |
|
| link | String | Link to redirect user. |
PUT https://acartia.io/api/v1/password-resets/:token
| Name | Type | Description |
|---|---|---|
| password | String | User's new password. |
GET https://acartia.io/api/v1/password-resets/:token
DELETE https://acartia.io/api/v1/sightings/:id
| Name | Type | Description |
|---|---|---|
| access_token | String | User access_token. |
POST https://acartia.io/api/v1/sightings
| Name | Type | Description |
|---|---|---|
| access_token | String | User access_token. |
Current sightings include any observations made in the most recent 7 days.
GET https://acartia.io/api/v1/sightings/current
Current sightings include any observations made in the most recent 7 days.
GET https://acartia.io/api/v1/sightings
| Name | Type | Description |
|---|---|---|
| access_token | String | User access_token. |
GET https://acartia.io/api/v1/sightings/:id
| Name | Type | Description |
|---|---|---|
| access_token | String | User access_token. |
GET https://acartia.io/api/v1/sightings/trusted
| Name | Type | Description |
|---|---|---|
| access_token | String | User access_token. |
POST https://acartia.io/api/v1/users/:id/profile
| Name | Type | Description |
|---|---|---|
| access_token | String | Master access_token. |
| name | String | optional Contributor name. |
| website | String | optional Contributor website. |
| logoFile | String | optional Base64 of contributor logo. |
| id | Number | user id |
POST https://acartia.io/api/v1/users/:id/tokens
| Name | Type | Description |
|---|---|---|
| access_token | String | Master access_token. |
| name | String | optional name of token. |
| id | Number | user id |
DELETE https://acartia.io/api/v1/users/tokens/:id
| Name | Type | Description |
|---|---|---|
| access_token | String | User access_token |
| id | String | user token id |
GET https://acartia.io/api/v1/users/:id/tokens
| Name | Type | Description |
|---|---|---|
| id | Number | user id |
GET https://acartia.io/api/v1/users/me
| Name | Type | Description |
|---|---|---|
| access_token | String | User access_token. |
GET https://acartia.io/api/v1/users/:id
PUT https://acartia.io/api/v1/users/:id/password
| Name | Type | Description |
|---|---|---|
| Authorization | String | Basic authorization with email and password. |
| Name | Type | Description |
|---|---|---|
| password | String | User's new password. |
PUT https://acartia.io/api/v1/users/:id
| Name | Type | Description |
|---|---|---|
| access_token | String | User access_token. |
| name | String | optional User's name. |
| picture | String | optional User's picture. |
| isApproved | String | optional if the user is approved by admin. |