Skip to content

Commit

Permalink
Use valid JSON in example payload for reservations module
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnchin authored and damencho committed Sep 13, 2023
1 parent db12b3f commit 6f459e9
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions docs/devops-guide/reservation.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ assigned by the system and `duration` measured in seconds. Sample response body:

```
{
'id': 364758328,
'name': 'conference1234',
'mail_owner': '[email protected]',
'start_time': '2048-04-20T17:55:12.000Z',
'duration': 900000
"id": 364758328,
"name": "conference1234",
"mail_owner": "[email protected]",
"start_time": "2048-04-20T17:55:12.000Z",
"duration": 900000
}
```

Expand All @@ -129,7 +129,7 @@ that the conference room already exists. It is expected to contain

```
{
'conflict_id': 364758328
"conflict_id": 364758328
}
```

Expand Down Expand Up @@ -172,7 +172,7 @@ Content-Type: application/json; charset=utf-8
Content-Length: length
{
'message': 'client1 is not allowed to create the room at this time'
"message": "client1 is not allowed to create the room at this time"
}
```

Expand Down Expand Up @@ -200,11 +200,11 @@ to read information about the conflicting conference using an `HTTP GET`
'/conference/{conflict_id}' endpoint. The response should provide all
information about the conference stored in the reservation system:

* `'id'`: conference identifier assigned by the reservation system
* `'name'`: conference room name
* `'mail_owner'`: identity of the user who has created the conference
* `'start_time'`: conference start date and time
* `'duration'`: scheduled conference duration in seconds
* `"id"`: conference identifier assigned by the reservation system
* `"name"`: conference room name
* `"mail_owner"`: identity of the user who has created the conference
* `"start_time"`: conference start date and time
* `"duration"`: scheduled conference duration in seconds

The optional `max_occupants` value should also be provided if applicable.

Expand All @@ -213,11 +213,11 @@ Sample response JSON body (contains the same info as `200 OK` to

```
{
'id': 364758328,
'name': 'conference1234',
'mail_owner': '[email protected]',
'start_time': '2048-04-20T17:55:12.000Z',
'duration': 900000
"id": 364758328,
"name": "conference1234",
"mail_owner": "[email protected]",
"start_time": "2048-04-20T17:55:12.000Z",
"duration": 900000
}
```

Expand Down

0 comments on commit 6f459e9

Please sign in to comment.