Leen15 / rancher-wrapper

A php wrapper for use rancher API. Used for scale or upgrade services
11 stars 3 forks source link

API calls are missing project identifier #2

Closed daximus522 closed 7 years ago

daximus522 commented 7 years ago

When calling /api/hosts and other endpoints (api/services, etc) it appears to be leaving off an identifier for the project.

For Example: when calling /api/hosts it gives an error about the following URL:

https://rancherhost/v1/projects/hosts gives a 404

however when playing with the rancher API I can use the following URL

https://rancherhost/v1/projects//hosts gives a valid response

Is there way to have it inject the project_identifier?

daximus522 commented 7 years ago

Disregard - my base URL was incorrect.