Skip to content

Commit c2768c1

Browse files
committed
Merge branch 'develop' of github.com:TheHive-Project/docs into develop
2 parents 463a284 + 30ecbf3 commit c2768c1

File tree

4 files changed

+28
-22
lines changed

4 files changed

+28
-22
lines changed

docs/thehive/api/organisation/.pages

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
nav:
22
- create.md
3-
- update.md
3+
- update.md
4+
- list.md
5+
- link.md

docs/thehive/api/organisation/create.md

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ POST /api/v0/organisation
1010

1111
## Request
1212

13-
### Request Body Example
13+
### Request Body
1414

15-
```json
16-
{
17-
"description": "SOC team",
18-
"name": "soc"
19-
}
20-
```
15+
!!! Example
16+
17+
```json
18+
{
19+
"description": "SOC team",
20+
"name": "soc"
21+
}
22+
```
2123

2224
### Fields
2325

@@ -33,17 +35,19 @@ The following fields are required:
3335
- `201`: if organisation creation completed successfully
3436
- `401`: Authentication error
3537

36-
### Response Body Example
37-
38-
```json
39-
{
40-
"_id": "~204804296",
41-
"_type": "organisation",
42-
"createdAt": 1630385478884,
43-
"createdBy": "[email protected]",
44-
"description": "SOC team",
45-
"id": "~204804296",
46-
"links": [],
47-
"name": "soc"
48-
}
49-
```
38+
### Response Body
39+
40+
!!! Example
41+
42+
```json
43+
{
44+
"_id": "~204804296",
45+
"_type": "organisation",
46+
"createdAt": 1630385478884,
47+
"createdBy": "[email protected]",
48+
"description": "SOC team",
49+
"id": "~204804296",
50+
"links": [],
51+
"name": "soc"
52+
}
53+
```

docs/thehive/api/organisation/link.md

Whitespace-only changes.

docs/thehive/api/organisation/list.md

Whitespace-only changes.

0 commit comments

Comments
 (0)