Base URL: https://api-qa.app.worldcleanupday.com/api/v1, Version: 1.0
Fetch location trashpoints contained in a specific dataset, within a specific polygon, and for a certain zoom level.
pageSize | number of items on a page. |
query | integer , { x ∈ ℤ | 10 ≤ x ≤ 50 } | #/parameters/PageSize |
pageNumber | number of items on a page. |
query | integer , { x ∈ ℤ | x ≥ 1 } | #/parameters/PageNumber |
Uses default content-types: application/json text/html text/plain
List of trashpoints for admin consumption.
Contains errors.
List all areas.
parentId | Use if only areas with a specific parent should be returned. |
query | string |
Uses default content-types: application/json text/html text/plain
List of areas.
Contains errors.
List areas assigned to the account of the currently logged-in user.
Uses default content-types: application/json text/html text/plain
List of areas.
Contains errors.
List areas assigned to a specific user.
id | UUID. |
path | string | #/parameters/UUID |
Uses default content-types: application/json text/html text/plain
List of areas.
Contains errors.
Remove the leader of an area.
id | UUID. |
path | string | #/parameters/UUID |
Uses default content-types: application/json text/html text/plain
User was successfully unassigned from area.
Contains errors.
Assign an user as leader of an area.
id | UUID. |
path | string | #/parameters/UUID |
id2 | UUID. |
path | string | #/parameters/UUID2 |
Uses default content-types: application/json text/html text/plain
User was successfully assigned to area.
Contains errors.
List of trashpoints falling into a specific area. Use special area code "-" (single dash) to request trashpoints which don't fall into any defined area.
id | UUID. |
path | string | #/parameters/UUID |
pageSize | number of items on a page. |
query | integer , { x ∈ ℤ | 10 ≤ x ≤ 50 } | #/parameters/PageSize |
pageNumber | number of items on a page. |
query | integer , { x ∈ ℤ | x ≥ 1 } | #/parameters/PageNumber |
Uses default content-types: application/json text/html text/plain
List of trashpoints for area leader consumption.
Contains errors.
End the user's session.
Uses default content-types: application/json text/html text/plain
User was logged out.
Contains errors.
Obtain an authorization token in exchange for an OAUTH token from another authority.
credentials | Credentials used for authorization. |
body | object | #/parameters/AuthRequest |
Uses default content-types: application/json text/html text/plain
Contains authorization data.
Contains errors.
Fetch information about all the datasets offered by this server.
Uses default content-types: application/json text/html text/plain
List of datasets.
Contains errors.
Information about the currently logged-in user.
Uses default content-types: application/json text/html text/plain
Account information.
Contains errors.
Change details about the user.
update | body | object | #/parameters/ModifyProfile |
Uses default content-types: application/json text/html text/plain
Account information.
Contains errors.
Mark the terms and conditions accepted for the logged-in user account.
Uses default content-types: application/json text/html text/plain
The terms were marked accepted on this account.
Contains errors.
Fetch clustered trashpoints from a specific dataset, within a certain rectangular area, and for a certain grid scale.
query | body | object | #/parameters/MapQuery |
Uses default content-types: application/json text/html text/plain
List of clusters.
Contains errors.
Fetch isolated (ie. with no neighbors nearby) location trashpoints from a specific dataset, within a certain rectangular area, and for a certain grid scale.
query | body | object | #/parameters/MapQuery |
Uses default content-types: application/json text/html text/plain
List of simplified trashpoint data.
Contains errors.
Fetch isolated (ie. with no neighbors nearby) location trashpoints from a specific dataset, within a certain grid slot, for a certain grid scale.
query | body | object | #/parameters/MapQueryGrid |
Uses default content-types: application/json text/html text/plain
List of simplified trashpoint data.
Contains errors.
Create a new trashpoint in a certain dataset ID.
trashpoint | body | object | #/parameters/CreateTrashpoint |
Uses default content-types: application/json text/html text/plain
The newly created trashpoint.
Contains errors.
Fetch full information about trashpoints associated to the authenticated user.
pageSize | number of items on a page. |
query | integer , { x ∈ ℤ | 10 ≤ x ≤ 50 } | #/parameters/PageSize |
pageNumber | number of items on a page. |
query | integer , { x ∈ ℤ | x ≥ 1 } | #/parameters/PageNumber |
Uses default content-types: application/json text/html text/plain
List of trashpoints for admin consumption.
Contains errors.
Remove a specific trashpoint.
id | UUID. |
path | string | #/parameters/UUID |
Uses default content-types: application/json text/html text/plain
Trashpoint has been removed.
Contains errors.
Fetch full information about a specific trashpoint ID.
id | UUID. |
path | string | #/parameters/UUID |
Uses default content-types: application/json text/html text/plain
Individual trashpoint or cluster.
Contains errors.
Modify details of a specific trashpoint.
id | UUID. |
path | string | #/parameters/UUID |
trashpoint | body | object | #/parameters/ModifyTrashpoint |
Uses default content-types: application/json text/html text/plain
Individual trashpoint or cluster.
Contains errors.
Fetch the images associated with a specific trashpoint ID.
id | UUID. |
path | string | #/parameters/UUID |
Uses default content-types: application/json text/html text/plain
List of images.
Contains errors.
Confirm the upload of an image.
id | UUID. |
path | string | #/parameters/UUID |
request | body | object | #/parameters/ImageConfirm |
Uses default content-types: application/json text/html text/plain
All indicated images were processed successfully.
Contains errors.
Allocate a new image associated with a specific trashpoint ID.
id | UUID. |
path | string | #/parameters/UUID |
request | body | object | #/parameters/ImageAllocate |
Uses default content-types: application/json text/html text/plain
A short-term authorization allowing access to storage operations.
The type of resource.
Contains errors.
Delete an image. The 1st ID indicates the trashpoint, the 2nd the image.
id | UUID. |
path | string | #/parameters/UUID |
id2 | UUID. |
path | string | #/parameters/UUID2 |
Uses default content-types: application/json text/html text/plain
The indicated image and their dependent images were deleted.
Contains errors.
Fetch all users.
pageSize | number of items on a page. |
query | integer , { x ∈ ℤ | 10 ≤ x ≤ 50 } | #/parameters/PageSize |
pageNumber | number of items on a page. |
query | integer , { x ∈ ℤ | x ≥ 1 } | #/parameters/PageNumber |
country | query | string , x ∈ { AD , AE , AF , AG , AI , AL , AM , AO , AQ , AR , AS , AT , AU , AW , AX , AZ , BA , BB , BD , BE , BF , BG , BH , BI , BJ , BL , BM , BN , BO , BQ , BR , BS , BT , BV , BW , BY , BZ , CA , CC , CD , CF , CG , CH , CI , CK , CL , CM , CN , CO , CR , CU , CV , CW , CX , CY , CZ , DE , DJ , DK , DM , DO , DZ , EC , EE , EG , EH , ER , ES , ET , FI , FJ , FK , FM , FO , FR , GA , GB , GD , GE , GF , GG , GH , GI , GL , GM , GN , GP , GQ , GR , GS , GT , GU , GW , GY , HK , HM , HN , HR , HT , HU , ID , IE , IL , IM , IN , IO , IQ , IR , IS , IT , JE , JM , JO , JP , KE , KG , KH , KI , KM , KN , KP , KR , KW , KY , KZ , LA , LB , LC , LI , LK , LR , LS , LT , LU , LV , LY , MA , MC , MD , ME , MF , MG , MH , MK , ML , MM , MN , MO , MP , MQ , MR , MS , MT , MU , MV , MW , MX , MY , MZ , NA , NC , NE , NF , NG , NI , NL , NO , NP , NR , NU , NZ , OM , PA , PE , PF , PG , PH , PK , PL , PM , PN , PR , PS , PT , PW , PY , QA , RE , RO , RS , RU , RW , SA , SB , SC , SD , SE , SG , SH , SI , SJ , SK , SL , SM , SN , SO , SR , SS , ST , SV , SX , SY , SZ , TC , TD , TF , TG , TH , TJ , TK , TL , TM , TN , TO , TR , TT , TV , TZ , UA , UG , UM , US , UY , UZ , VA , VC , VE , VG , VI , VN , VU , WF , WS , YE , YT , ZA , ZM , ZW } | #/parameters/Country |
Uses default content-types: application/json text/html text/plain
List of accounts.
Contains errors.
Fetch complete info about a specific user.
id | UUID. |
path | string | #/parameters/UUID |
Uses default content-types: application/json text/html text/plain
Full account information.
Contains errors.
Set lock status on an account.
Uses default content-types: application/json
True if the account should be locked, false if it should be unlocked.
id | UUID. |
path | string | #/parameters/UUID |
Uses default content-types: application/json text/html text/plain
The user account was locked or unlocked successfully.
Contains errors.
List of trashpoints for admin consumption.
List of trashpoints for area leader consumption.
A short-term authorization allowing access to storage operations.
The type of resource.
Contains errors.
When the account was last modified. If missing it means this is a freshly created account.
Who caused this account to be last modified. If missing it means this is a freshly created account.
Empty for users who are not area leaders. Contains area codes led by this user.
A unique code in geo HASC notation. Eg. US.CA.SF would mean US > California > San Francisco.
Each area can optionally be classified as physically located under another.
Area can be optionally be assigned to a user.
Simplified version of trashpoint, used when listing a user's own trashpoints.
A unique name of this trashpoint.
The address where the trashpoint was created.
If not present, this object is a trashpoint. If present, this object is a cluster and this property contains cluster-specific properties.
ISO ALPHA-2 country code.
A collection of data objects with a common internal structure.
The type of objects contained in this dataset.
Geographical geodetic latitude, expressed in decimal degrees in the range (-90, 90).
Geographical geodetic longitude, expressed in decimal degrees in the range (-180, 180).
A geographical point coordinate, expressed as latitude and longitude.
A set of integer representing the coordinates of a cluster grid cell.
Simplified version of trashpoint, used when listing trashpoint overviews.
The type of composition the trash is made of.
The initial status of a newly created trashpoint.
Full version of a trashpoint.
Name of the user that created this trashpoint.
Name of the user that updated this trashpoint.
The unique identifier for this image.
The identifier of the trashpoint this image is associated with.
The URL at which the image is available. Not present when the status is not "ready".
Depending on the type, some images are related to another.
The current status of this trashpoint. If it's a cluster, the status is determined by the majority of trashpoints in it.