How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OpenProject Relations API

Work packages may be related to each other in different ways.```+--------------+ +--------------+| | 1 1 | || Work package +-------------+--------------+ Work package || | from | to | |+--------------+ | +--------------+ +------+-------+ | Relation | +--------------+ | type | | reverseType | | description | | lag | +--------------+```## Actions| Link | Description | Condition ||:-------------------:| -------------------------------------------------------------------- | --------------------------------------------- || update | Updates the relation between two work packages via a form | **Permission**: manage work package relations || updateImmediately | Updates the relation between two work packages | **Permission**: manage work package relations || delete | Destroys the relation between the two work packages | **Permission**: manage work package relations |## Linked Properties| Link | Description | Type | Constraints | Supported operations | Condition ||:-------------:|-------------------------------------- | ------------- | ----------- | -------------------- | --------------------------------------------- || self | This relation | Relation | not null | READ | **Permission**: view work packages || schema | The schema of this relation | Schema | not null | READ | || from | The emanating work package | WorkPackage | not null | READ | **Permission**: view work packages || to | The work package the relation ends in | WorkPackage | not null | READ | **Permission**: view work packages |## Local Properties| Property | Description | Type | Constraints | Supported operations || :---------------:| ------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------- | -------------------- || id | Relation ID | Integer | x > 0 | READ || name | The internationalized name of this kind of relation | String | | READ| type | Which kind of relation (blocks, precedes, etc.) | String | in: relates, duplicates, duplicated, blocks, blocked, precedes, follows, includes, partof, requires, required | READ / WRITE || reverseType | The kind of relation from the other WP's perspective | String | in: relates, duplicates, duplicated, blocks, blocked, precedes, follows, includes, partof, requires, required | READ || description | Short text further describing the relation | String | | READ / WRITE || lag* | The number of days between closing of `from` and start of `to`| Integer | x >= 0 | READ / WRITE |\* Only applicable for some relation types such as "follows". You can check using the relation by schemaendpoint at `/api/v3/relations/schema/{type}`.

OpenProject Relations API is one of 62 APIs that OpenProject publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Relations. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 3 paths, and defines 10 schemas. It is described by OpenAPI 3.1.2, at version 3.

Requests are made against 3 base URLs: https://qa.openproject-edge.com, https://qa.openproject-stage.com, https://community.openproject.org.

5 operations 3 paths 10 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.2
API Version
3
Base URL
https://community.openproject.org/api/v3
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

OpenProject Relations API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (BasicAuth). By default, every request must be authenticated.

Paths & Operations 5

Across 3 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Relations 5

Work packages may be related to each other in different ways. +--------------+ +--------------+ | | 1 1 | | | Work package +-------------+--------------+ Work package | | | from |…

GET
/api/v3/relations
List Relations
list_relations 2 params → 200400
GET
/api/v3/relations/{id}
Get Relation
get_relation 1 param → 200404
DELETE
/api/v3/relations/{id}
Delete Relation
delete_relation 1 param → 204403404406415
PATCH
/api/v3/relations/{id}
Update Relation
update_relation 1 param body → 200400404406415422
POST
/api/v3/work_packages/{id}/relations
Create relation
create_relation 1 param body → 201400403409406415422

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are RelationReadModel (9 properties), Link (7 properties), RelationWriteModel (4 properties), ErrorResponse (4 properties). Each schema is shown below with its type and property counts.

CollectionModel
object
4 properties 4 required
CollectionLinks
object
1 property 1 required
Formattable
object
3 properties 1 required
Link
object
7 properties 1 required
RelationReadModel
object
9 properties
WorkPackageModel
ErrorResponse
object
4 properties 3 required
RelationWriteModel
object
4 properties 2 required
CustomFieldProperties
object
RelationCollectionModel

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

openproject-relations-api-openapi.yml Raw ↑

Other APIs OpenProject publishes across the network.

OpenProject Actions & Capabilities API
OpenProject Activities API
OpenProject Attachments API
OpenProject Budgets API
OpenProject Categories API
OpenProject Collections API
OpenProject Configuration API
OpenProject Custom actions API
OpenProject Custom Field Items API
OpenProject Custom Fields API
OpenProject Custom Options API
OpenProject Documents API
Where this information came from

This is an independent, third-party profile of OpenProject Relations API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.