API: Reminders
Methods
List all active reminders
Gets a list of all active reminders for the user.
200
OK
{
"type": "object",
"required": [
"_type",
"total",
"count",
"_embedded"
],
"properties": {
"_type": {
"type": "string",
"enum": [
"Collection"
]
},
"total": {
"type": "integer",
"description": "The total amount of elements available in the collection.",
"minimum": 0
},
"count": {
"type": "integer",
"description": "Actual amount of elements in this response.",
"minimum": 0
},
"_embedded": {
"type": "object",
"required": [
"elements"
],
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReminderModel"
}
}
}
}
}
}
Update a reminder
Updates an existing reminder.
A user can only update their own active reminder.
Required permission: view work packages for the project the reminder is contained in.
id
integer
required path
Reminder ID
Example:1
200
Reminder updated successfully
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Reminder id",
"readOnly": true,
"minimum": 1
},
"note": {
"type": "string",
"description": "The note of the reminder"
},
"remindAt": {
"type": "string",
"format": "date-time",
"description": "The date and time when the reminder is due"
},
"_links": {
"required": [
"creator",
"remindable"
],
"type": "object",
"properties": {
"self": {
"allOf": [
{
"$ref": "#/components/schemas/Link"
},
{
"description": "This reminder\n\n**Resource**: Reminder"
}
]
},
"creator": {
"allOf": [
{
"$ref": "#/components/schemas/Link"
},
{
"description": "The person that created the reminder\n\n**Resource**: User"
}
]
},
"remindable": {
"allOf": [
{
"$ref": "#/components/schemas/Link"
},
{
"description": "The resource that the reminder is associated with\n\n**Resource**: WorkPackage"
}
]
}
}
}
}
}
404
Returned if the reminder does not exist or the client does not have sufficient permissions to see it.
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
{
"type": "object",
"required": [
"_type",
"errorIdentifier",
"message"
],
"properties": {
"_embedded": {
"type": "object",
"properties": {
"details": {
"type": "object",
"properties": {
"attribute": {
"type": "string"
}
}
}
}
},
"_type": {
"type": "string",
"enum": [
"Error"
]
},
"errorIdentifier": {
"type": "string"
},
"message": {
"type": "string"
}
},
"examples": [
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
]
}
Delete a reminder
Deletes an existing reminder.
A user can only delete their own active reminder.
Required permission: view work packages for the project the reminder is contained in.
id
integer
required path
Reminder ID
Example:1
204
Reminder deleted successfully
404
Returned if the reminder does not exist or the client does not have sufficient permissions to see it.
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
{
"type": "object",
"required": [
"_type",
"errorIdentifier",
"message"
],
"properties": {
"_embedded": {
"type": "object",
"properties": {
"details": {
"type": "object",
"properties": {
"attribute": {
"type": "string"
}
}
}
}
},
"_type": {
"type": "string",
"enum": [
"Error"
]
},
"errorIdentifier": {
"type": "string"
},
"message": {
"type": "string"
}
},
"examples": [
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
]
}
List work package reminders
Gets a list of your upcoming reminders for this work package.
Only active reminders that belong to the current user are returned.
id
integer
required path
Work package id
Example:1
200
OK
{
"type": "object",
"required": [
"_type",
"total",
"count",
"_embedded"
],
"properties": {
"_type": {
"type": "string",
"enum": [
"Collection"
]
},
"total": {
"type": "integer",
"description": "The total amount of elements available in the collection.",
"minimum": 0
},
"count": {
"type": "integer",
"description": "Actual amount of elements in this response.",
"minimum": 0
},
"_embedded": {
"type": "object",
"required": [
"elements"
],
"properties": {
"elements": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReminderModel"
}
}
}
}
}
}
403
Returned if the client does not have sufficient permissions.
Required permission: view work packages for the project the work package is contained in.
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
{
"type": "object",
"required": [
"_type",
"errorIdentifier",
"message"
],
"properties": {
"_embedded": {
"type": "object",
"properties": {
"details": {
"type": "object",
"properties": {
"attribute": {
"type": "string"
}
}
}
}
},
"_type": {
"type": "string",
"enum": [
"Error"
]
},
"errorIdentifier": {
"type": "string"
},
"message": {
"type": "string"
}
},
"examples": [
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
]
}
404
Returned if the work package does not exist or the client does not have sufficient permissions to see it.
Required permission: view work package
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
{
"type": "object",
"required": [
"_type",
"errorIdentifier",
"message"
],
"properties": {
"_embedded": {
"type": "object",
"properties": {
"details": {
"type": "object",
"properties": {
"attribute": {
"type": "string"
}
}
}
}
},
"_type": {
"type": "string",
"enum": [
"Error"
]
},
"errorIdentifier": {
"type": "string"
},
"message": {
"type": "string"
}
},
"examples": [
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
]
}
Create a work package reminder
Creates a new reminder for the specified work package.
Note: A user can only have one active reminder at a time for a given work package.
id
integer
required path
Work package id
Example:1
201
Reminder created successfully
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Reminder id",
"readOnly": true,
"minimum": 1
},
"note": {
"type": "string",
"description": "The note of the reminder"
},
"remindAt": {
"type": "string",
"format": "date-time",
"description": "The date and time when the reminder is due"
},
"_links": {
"required": [
"creator",
"remindable"
],
"type": "object",
"properties": {
"self": {
"allOf": [
{
"$ref": "#/components/schemas/Link"
},
{
"description": "This reminder\n\n**Resource**: Reminder"
}
]
},
"creator": {
"allOf": [
{
"$ref": "#/components/schemas/Link"
},
{
"description": "The person that created the reminder\n\n**Resource**: User"
}
]
},
"remindable": {
"allOf": [
{
"$ref": "#/components/schemas/Link"
},
{
"description": "The resource that the reminder is associated with\n\n**Resource**: WorkPackage"
}
]
}
}
}
}
}
404
Returned if the work package does not exist or the client does not have sufficient permissions to see it.
Required permission: view work package
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
{
"type": "object",
"required": [
"_type",
"errorIdentifier",
"message"
],
"properties": {
"_embedded": {
"type": "object",
"properties": {
"details": {
"type": "object",
"properties": {
"attribute": {
"type": "string"
}
}
}
}
},
"_type": {
"type": "string",
"enum": [
"Error"
]
},
"errorIdentifier": {
"type": "string"
},
"message": {
"type": "string"
}
},
"examples": [
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
]
}
409
Returned if the user already has an active reminder for this work package.
Error message: You can only set one reminder at a time for a work package. Please delete or update the existing reminder.
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
{
"type": "object",
"required": [
"_type",
"errorIdentifier",
"message"
],
"properties": {
"_embedded": {
"type": "object",
"properties": {
"details": {
"type": "object",
"properties": {
"attribute": {
"type": "string"
}
}
}
}
},
"_type": {
"type": "string",
"enum": [
"Error"
]
},
"errorIdentifier": {
"type": "string"
},
"message": {
"type": "string"
}
},
"examples": [
{
"_type": "Error",
"errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
"message": "Project can't be blank.",
"_embedded": {
"details": {
"attribute": "project"
}
}
}
]
}