Skip to content

Commit 6f289ee

Browse files
committed
feat(apps): Add function for the /v3/apps/:guid/manifest endpoint
1 parent f3ca15d commit 6f289ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cloudfoundry_client/v3/apps.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ def get_env(self, application_guid: str) -> JsonObject:
2424

2525
def get_routes(self, application_guid: str) -> JsonObject:
2626
return super(AppManager, self)._get("%s%s/%s/routes" % (self.target_endpoint, self.entity_uri, application_guid))
27+
28+
def get_manifest(self, application_guid: str) -> str:
29+
return self.client.get(url="%s%s/%s/manifest" % (self.target_endpoint, self.entity_uri, application_guid)).text

0 commit comments

Comments
 (0)