Public API v1

Add and/or remove goals from a collection. Provide {add: [], remove: []} ids.

post/v1/collections/{collectionId}/goals

Request

  • Base URL: https://api.mynextadventure.cloud (the document declares no server; this is the origin it was published from)
  • URL: https://api.mynextadventure.cloud/v1/collections/{collectionId}/goals
  • Auth: API key in header X-API-Key

Path parameters

collectionIdstring required

Request body

addstring[]

Goal ids to add to the collection.

removestring[]

Goal ids to remove from the collection.

Response

idstring required
userIdstring required
namestring required
descriptionstring
emojistring
coverImageUrlstring
goalIdsstring[] required
visibility'private' | 'shared' | 'public' required
shareTokenstring

Opaque token for non-private collections; safe to share.

goalCountnumber required
visitedCountnumber required
createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.