docs: Add two endpoints
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/woodpecker Pipeline was successful
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ci/woodpecker/push/woodpecker Pipeline was successful
				
			This commit is contained in:
		@@ -26,3 +26,29 @@ An application can then send this token in the request header for authorization.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
.. code-block::
 | 
					.. code-block::
 | 
				
			||||||
    $ curl -X GET http://notfellchen.org/api/adoption_notice -H 'Authorization: Token 49b39856955dc6e5cc04365498d4ad30ea3aed78'
 | 
					    $ curl -X GET http://notfellchen.org/api/adoption_notice -H 'Authorization: Token 49b39856955dc6e5cc04365498d4ad30ea3aed78'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Endpoints
 | 
				
			||||||
 | 
					---------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Get Adoption Notices
 | 
				
			||||||
 | 
					++++++++++++++++++++
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.. code-block::
 | 
				
			||||||
 | 
					    curl --request GET \
 | 
				
			||||||
 | 
					  --url http://localhost:8000/api/adoption_notice \
 | 
				
			||||||
 | 
					  --header 'Authorization: {{token}}'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Create Adoption Notice
 | 
				
			||||||
 | 
					++++++++++++++++++++++
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.. code-block::
 | 
				
			||||||
 | 
					    curl --request POST \
 | 
				
			||||||
 | 
					  --url http://localhost:8000/api/adoption_notice \
 | 
				
			||||||
 | 
					  --header 'Authorization: {{token}}' \
 | 
				
			||||||
 | 
					  --header 'content-type: multipart/form-data' \
 | 
				
			||||||
 | 
					  --form name=TestAdoption1 \
 | 
				
			||||||
 | 
					  --form searching_since=2024-11-19 \
 | 
				
			||||||
 | 
					  --form 'description=Lorem ipsum **dolor sit** amet' \
 | 
				
			||||||
 | 
					  --form further_information=https://notfellchen.org \
 | 
				
			||||||
 | 
					  --form location_string=Berlin \
 | 
				
			||||||
 | 
					  --form group_only=true
 | 
				
			||||||
		Reference in New Issue
	
	Block a user