Skip to content

Commit

Permalink
Merge pull request #42 from Leantime/release/3.2.1
Browse files Browse the repository at this point in the history
release/3.2.1 --body
  • Loading branch information
marcelfolaron authored Sep 22, 2024
2 parents 56907d4 + d4b3b49 commit 2aff7e3
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
45 changes: 45 additions & 0 deletions api/classes/Leantime/Domain/Projects/Services/Projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,51 @@ The projects.



---
### `leantime.rpc.Projects.Projects.editUserProjectRelations`

Edits the project relations of a user.

```json
{
"method": "leantime.rpc.Projects.Projects.editUserProjectRelations",
"jsonrpc": "2.0",
"id": 1,
"params": {
"id": int,
"projects": array,
}
}
```









**Parameters:**

| Parameter | Type | Description |
|-----------|------|-------------|
| `id` | **int** | The ID of the user. |
| `projects` | **array** | The projects to be edited. |


**Returns:**
True if the project relations were successfully edited, false otherwise.
```json
{
"jsonrpc": "2.0",
"id": 1,
"result": bool
}
```



---
### `leantime.rpc.Projects.Projects.getAll`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1066,8 +1066,6 @@ public Projects::editUserProjectRelations(int $id, array $projects): bool

True if the project relations were successfully edited, false otherwise.

@api



---
Expand Down

0 comments on commit 2aff7e3

Please sign in to comment.