** This document captures api endpoints currently supported by the shim**
Docs: https://v3-apidocs.cloudfoundry.org/version/3.107.0/index.html#root
Resource | Endpoint |
---|---|
Global API Root | GET / |
V3 API Root | GET /v3 |
Docs: https://v3-apidocs.cloudfoundry.org/version/3.107.0/index.html#resource-matches
Resource | Endpoint |
---|---|
Create a Resource Match | POST /v3/resource_matches |
curl "http://localhost:9000/v3/resource_matches" \
-X POST \
-d '{}'
Docs: https://v3-apidocs.cloudfoundry.org/version/3.107.0/index.html#apps
Resource | Endpoint |
---|---|
Get App | GET /v3/apps/ |
Create App | POST /v3/apps |
Note : namespace
needs to exist before creating the app.
curl "http://localhost:9000/v3/apps" \
-X POST \
-d '{"name":"my-app","relationships":{"space":{"data":{"guid":"<namespace-name>"}}}}'
Resource | Endpoint |
---|---|
Create Package | POST /v3/packages |
curl "http://localhost:9000/v3/packages" \
-X POST \
-d '{"type":"bits","relationships":{"app":{"data":{"guid":"<app-guid-goes-here>"}}}}'