这是indexloc提供的服务,不要输入任何密码
Skip to content

API Log Ouput #184

@cmgpbint

Description

@cmgpbint

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions