Camunda ReST API endpoints

Hi ,
I am using Spring Boot Camunda.
I am using the spring boot rest endpoints provided by Camunda for ceratin tasks.
But the API endpoint URL looks like
{base-url}/api/myapp/api/engine/engine/default/task/{taskId}/complete.

The word “engine” is repeated twice in the URL which looks weird.
Is there any way to get rid of one of them?

Where did you find the information that you should be using that end point?

When I load my Camunda Admin App I can see various API calls made by Camunda to fetch certain details.Thats how I got it

OK, those are only used by the web apps.
If you’ve included the REST API as part of your spring boot project the endpoint should be
{base-url}/rest/
you can test this by just checking the engine name
{base-url}/rest/engine

Thanks Niall…Much appreciated.