Developers
Menu
POSThttps://streetartcities.com/api/hunts/{huntId}/claim

Say you're going to hunt this. The claim lasts three days, after which someone else can pick it up. Claiming a hunt you already claimed starts the three days again.

Path parameters

huntIdstringrequired

Requirements

Needs an access token. When using OAuth, the token needs the hunts:write scope.

Responses

200 The hunt

commentstring· min length: 1· max length: 1000required

What hunters should know, for example where to look

locationobjectrequired

Where the artwork is

addressstring
citystring
countrystring

Two-letter country code

idstringrequired
createdBystringrequired

The id of the person who reported it

oauthClientIdstring

Set when it was reported through a third-party app

claimedBystring

The id of the hunter who's going to photograph it

claimedUntilstring

When the claim runs out, three days after claiming

reporterHuntPerson
hunterHuntPerson
commentsCountnumber

How many comments it has, when listing hunts

createdAtstringrequired

400 Invalid request

errorobjectrequired

401 Not logged in

errorobjectrequired

403 The app doesn't have the scope for this

errorobjectrequired

404 Not found

errorobjectrequired

409 Someone else is already hunting it

errorobjectrequired