List a project's comments
GET
/projects/{pid}/commentsThe comments left on the project's map, with where on the map each one was placed.
Path parameters
pidstringrequiredThe project's ID, the part after/p/in its address in the app.
Responses
A list ofComment:
typestringrequiredAlways"project_comment"idstringrequiredprojectIdstringrequiredtimestampinteger(int64)requiredWhen it was left, in milliseconds since 1 January 1970 (UTC).textstringrequiredlatitudenumber(double)longitudenumber(double)uidstringWho left it.userNamestringuserPhotoUrlstring
Errors
A failed request answers with one of these, in an Error body.
401
unauthorized_actionThe item is not on your account or your members', the request came from a web page on a website the key does not allow, or the action is not allowed for this person.403
insufficient_scopeThe key does not have the access this endpoint needs. Create a key with that access.403
invalid_api_keyNo key was sent in the Authorization header, or the key is unknown, revoked, or past the time it kept working after being replaced.Try it
This key is
The key stays in this tab and goes only to the API. Use a sandbox key while you try things: requests are real, and what they change is changed.
The project's ID, the part after `/p/` in its address in the app.
GET https://api.measuremaponline.com/api/v1/projects/Xr7Lp2Qm9KdT4wZs/commentsFill in your API key to send.
As a cURL command
curl 'https://api.measuremaponline.com/api/v1/projects/Xr7Lp2Qm9KdT4wZs/comments' \
-H "Authorization: $MMO_API_KEY"