| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | GET {{triliumHost}}/etapi/inbox/2022-01-01 | 
					
						
							| 
									
										
										
										
											2022-01-10 17:09:20 +01:00
										 |  |  | Authorization: {{authToken}} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-12 19:32:23 +01:00
										 |  |  | > {% client.assert(response.status === 200); %} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | ### | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-10 17:09:20 +01:00
										 |  |  | GET {{triliumHost}}/etapi/calendar/days/2022-01-01 | 
					
						
							|  |  |  | Authorization: {{authToken}} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-12 19:32:23 +01:00
										 |  |  | > {% client.assert(response.status === 200); %} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | ### | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-10 17:09:20 +01:00
										 |  |  | GET {{triliumHost}}/etapi/calendar/days/2022-1 | 
					
						
							|  |  |  | Authorization: {{authToken}} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | > {% | 
					
						
							| 
									
										
										
										
											2022-01-12 19:32:23 +01:00
										 |  |  |     client.assert(response.status === 400); | 
					
						
							|  |  |  |     client.assert(response.body.code === "DATE_INVALID"); | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-10 17:09:20 +01:00
										 |  |  | GET {{triliumHost}}/etapi/calendar/weeks/2022-01-01 | 
					
						
							|  |  |  | Authorization: {{authToken}} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-12 19:32:23 +01:00
										 |  |  | > {% client.assert(response.status === 200); %} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | ### | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-10 17:09:20 +01:00
										 |  |  | GET {{triliumHost}}/etapi/calendar/weeks/2022-1 | 
					
						
							|  |  |  | Authorization: {{authToken}} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | > {% | 
					
						
							| 
									
										
										
										
											2022-01-12 19:32:23 +01:00
										 |  |  |     client.assert(response.status === 400); | 
					
						
							|  |  |  |     client.assert(response.body.code === "DATE_INVALID"); | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-10 17:09:20 +01:00
										 |  |  | GET {{triliumHost}}/etapi/calendar/months/2022-01 | 
					
						
							|  |  |  | Authorization: {{authToken}} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-12 19:32:23 +01:00
										 |  |  | > {% client.assert(response.status === 200); %} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | ### | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-10 17:09:20 +01:00
										 |  |  | GET {{triliumHost}}/etapi/calendar/months/2022-1 | 
					
						
							|  |  |  | Authorization: {{authToken}} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | > {% | 
					
						
							| 
									
										
										
										
											2022-01-12 19:32:23 +01:00
										 |  |  |     client.assert(response.status === 400); | 
					
						
							|  |  |  |     client.assert(response.body.code === "MONTH_INVALID"); | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | %} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ### | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-10 17:09:20 +01:00
										 |  |  | GET {{triliumHost}}/etapi/calendar/years/2022 | 
					
						
							|  |  |  | Authorization: {{authToken}} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-12 19:32:23 +01:00
										 |  |  | > {% client.assert(response.status === 200); %} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | ### | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-10 17:09:20 +01:00
										 |  |  | GET {{triliumHost}}/etapi/calendar/years/202 | 
					
						
							|  |  |  | Authorization: {{authToken}} | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | > {% | 
					
						
							| 
									
										
										
										
											2022-01-12 19:32:23 +01:00
										 |  |  |     client.assert(response.status === 400); | 
					
						
							|  |  |  |     client.assert(response.body.code === "YEAR_INVALID"); | 
					
						
							| 
									
										
										
										
											2022-01-05 19:25:17 +01:00
										 |  |  | %} |