Add resend requests to API docs
This commit is contained in:
		
							
								
								
									
										16
									
								
								docs/API.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								docs/API.md
									
									
									
									
									
								
							@ -14,6 +14,16 @@ POST /arrival
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
[Response]
 | 
					[Response]
 | 
				
			||||||
200 OK
 | 
					200 OK
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					409 CONFLICT
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						"request": "departure",
 | 
				
			||||||
 | 
						"arrival": {
 | 
				
			||||||
 | 
							"time": "UTC-ISO-TIMESTAMP",
 | 
				
			||||||
 | 
							"room": "roomname"
 | 
				
			||||||
 | 
						},
 | 
				
			||||||
 | 
						"message": "Error: Undeparted arrival exists"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -29,6 +39,12 @@ POST /departure
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
[Response]
 | 
					[Response]
 | 
				
			||||||
200 OK
 | 
					200 OK
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					409 CONFLICT
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
						"request": "arrival",
 | 
				
			||||||
 | 
						"message": "Error: No arrival exists"
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user