The projecterus Web REST API allows for retrieval of data. For detailed information, see our Web REST API docs.
--header 'Accept: application/json'
--header 'Content-Type: application/json'
--data-raw '{
"username": "mario.killmer@projecterus.de",
"password": "XXXXX"
}'
After successful authentication you will get an token. The token will be valid for 12 hours.
"token": "eyJhbGciOiJIUzI1NiJ9........."
}
Now that you have the token for your account, you can use them to start making requests. You can make a GET request to list all the resources with :
--header 'Accept: application/json'
--header 'Content-Type: application/json'
--header 'Authorization: Token eyJhbGciOiJIUzI1NiJ9........'