Skip to content

Commit 37e6fe2

Browse files
committed
1 parent e02f493 commit 37e6fe2

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

Markdowns/1. Server API/7. Image Annotation Sets.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,49 @@ Delete an annotation set by its ID.
116116
### Response
117117

118118
The annotation set object of the deleted annotation set.
119+
120+
## Clone an annotation set
121+
122+
```
123+
POST /image-sets/{image_set_id}/annotation-sets/{id}/clone
124+
```
125+
126+
Clone an annotation set by its ID.
127+
128+
### URL parameters
129+
130+
- `image_set_id`: The ID of the image set.
131+
- `id`: The ID of the annotation set.
132+
133+
### Request
134+
135+
The request body should be an object with the following properties:
136+
137+
- `name`: The name of the cloned annotation set.
138+
139+
### Response
140+
141+
The annotation set object of the cloned annotation set.
142+
143+
## Transfer ownership of an annotation set
144+
145+
```
146+
POST /image-sets/{image_set_id}/annotation-sets/{id}/transfer
147+
```
148+
149+
Transfer ownership of an annotation set by its ID.
150+
151+
### URL parameters
152+
153+
- `image_set_id`: The ID of the image set.
154+
- `id`: The ID of the annotation set.
155+
156+
### Request
157+
158+
The request body should be an object with the following properties:
159+
160+
- `new_owner_email`: The user email of the new owner.
161+
162+
### Response
163+
164+
The annotation set object after the ownership transfer.

0 commit comments

Comments
 (0)