ApplicationService

PodLogs returns stream of log entries for the specified pod. Pod

GET
https://argocd.example.com/api/v1/applications/{name}/logs

Parameters

namestringrequiredpath
namespacestringquery
podNamestringquery
containerstringquery
sinceSecondsstring<int64>query
sinceTime.secondsstring<int64>query

Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.

sinceTime.nanosinteger<int32>query

Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive. This field may be limited in precision depending on context.

tailLinesstring<int64>query
followbooleanquery
untilTimestringquery
filterstringquery
kindstringquery
groupstringquery
resourceNamestringquery
previousbooleanquery
appNamespacestringquery
projectstringquery
matchCasebooleanquery

Response

200OKobject

A successful response.(streaming responses)

Response fields application/json
Show child attributes
Show child attributes
type_urlstring
valuestring<byte>
grpc_codeinteger<int32>
http_codeinteger<int32>
http_statusstring
messagestring
Show child attributes
contentstring
lastboolean
podNamestring

Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false

timeStampStrstring

An unexpected error response.

Response fields application/json
codeinteger<int32>
Show child attributes
type_urlstring
valuestring<byte>
errorstring
messagestring

Authorization

bearerapiKey in header

A token sent as Authorization: Bearer <token>. API Docs shows how to get one.