Get site by ID
Retrieve a specific site by its ID from database
Path Parameters
idstring
Site ID
Format
objectIdHeader Parameters
X-API-KEYstring
API Key
Response Body
application/json
application/json
curl -X GET "https://api.dcrr.fr/v1/sites/string" \ -H "X-API-KEY: string"{
"address": "123 Main St",
"code": "000001",
"completed": false,
"created_at": "string",
"files": [
"['file1.pdf'",
"'file2.pdf']"
],
"group": [
"['group1'",
"'group2']"
],
"id": "507f1f77bcf86cd799439011",
"name": "Site A",
"order_index": 1,
"updated_at": "string"
}{
"error": "error message",
"message": "success message"
}
