-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
I'm trying to get a clean answer as an output from the API requests.
Is there a way to output the JSON answer to a file instead of
`
{
"environment": "some-env",
"apiProxy": "some-proxy",
"revision": "7",
"deployStartTime": "1680686390307",
"serviceAccount": "projects/-/serviceAccounts/another"
}
Checking deployment status in 10 seconds
`
or
`
ERROR: 2023/04/05 10:14:26 httpclient.go:372: status code 404, error in response: {
"error": {
"code": 404,
"message": "organizations/apigee/apis/some-proxy/revisions/18 is not deployed",
"status": "NOT_FOUND",
"details": [
{
"@type": "type.googleapis.com/google.rpc.RequestInfo",
"requestId": "14023509995147989598"
}
]
}
}
Error: error in response
`
Metadata
Metadata
Assignees
Labels
No labels