Reports

Notes

Expert level

The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.

List

				
					https://app.semerge.com/api/v1/projects
				
			

Request example:

				
					curl --location --request GET 'https://app.semerge.com/api/v1/reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
				
			

Show

API endpoint:

				
					https://app.semerge.com/api/v1/reports/{id}
				
			

Request example:

				
					curl --location --request GET 'https://app.semerge.com/api/v1/reports/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
				
			

Store

API endpoint:

				
					https://app.semerge.com/api/v1/reports
				
			

Request example:

				
					curl --location --request POST 'https://app.semerge.com/api/v1/reports' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
				
			

Update

API endpoint:

				
					https://app.semerge.com/api/v1/reports/{id}
				
			

Request example:

				
					curl --location --request PUT 'https://app.semerge.com/api/v1/reports/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
				
			

Delete

API endpoint:

				
					https://app.semerge.com/api/v1/reports/{id}
				
			

Request example:

				
					curl --location --request DELETE 'https://app.semerge.com/api/v1/reports/{id}' \
--header 'Authorization: Bearer {api_key}'