API ReferenceView as MarkdownOpenAPI

Reminder

View as Markdown

Endpoints that need a token: the site owner creates it in their admin (Developers > API reference). AI assistants: how to ask the user for one.

5 endpoints.

Retrieve the reminder

Returns the reminder.

User token

Needs the token of a signed-in user.

Query parameters
dependability_filterstring

Only reminders with this dependability filter.

no_populatestring

Only reminders with this no populate.

Status codes

200 401 500

GET/reminder
curl -X GET 'http://allsport.max-media.io/reminder?ionic=true&dependability_filter=...&no_populate=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "make": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Create a reminder

Creates a reminder from the fields sent.

User token

Needs the token of a signed-in user.

Status codes

201 400 401 500

POST/reminder
curl -X POST 'http://allsport.max-media.io/reminder?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "make": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Retrieve a reminder

Returns one reminder, found by its ID.

User token

Needs the token of a signed-in user.

Path parameters
idstringRequired

The ID of the reminder.

Query parameters
no_populatestring

Only reminders with this no populate.

Status codes

200 401 404 500

GET/reminder/:id
curl -X GET 'http://allsport.max-media.io/reminder/{id}?ionic=true&no_populate=...' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "make": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Update a reminder

Changes the fields sent; the others stay as they are.

User token

Needs the token of a signed-in user.

Path parameters
idstringRequired

The ID of the reminder.

Status codes

200 400 401 404 500

PATCH/reminder/:id
curl -X PATCH 'http://allsport.max-media.io/reminder/{id}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
Response
{
  "name": "Example",
  "make": "6543210fedcba98765432100",
  "_id": "6543210fedcba98765432100",
  "updatedAt": "2026-11-04T12:00:00.000Z",
  "createdAt": "2026-11-04T12:00:00.000Z"
}

Delete a reminder

Deletes the reminder. This cannot be undone.

User token

Needs the token of a signed-in user.

Path parameters
idstringRequired

The ID of the reminder.

Returns

Returns an empty answer on success.

Status codes

200 401 404 500

DELETE/reminder/:id
curl -X DELETE 'http://allsport.max-media.io/reminder/{id}?ionic=true' \
  -H 'Authorization: Bearer <TOKEN>'
↑↓ Navigate↵ GoEsc Close