Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions docs/api/application-service-delete-application-pod.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
id: application-service-delete-application-pod
title: "DeleteApplicationPod"
description: "DeleteApplicationPod"
sidebar_label: "DeleteApplicationPod"
hide_title: true
hide_table_of_contents: true
api: eJylWN9z4zYO/lc4vIe2M7K8e725B91Ls2na25ltN5Nk7yWbcWASltilSC1/OFEz/t9vQNKxHDvZ3DUvsSgQBD58AAE98ACt5801PxkGrQQEZc0lurUSyG8qbgd0ae295M0RmcXPqDHg5MW5lbziAzjoMaAj3Q/cQI+84afWGBRhdu5ssMLq2X/QeWUNr7gyvOEdgkTHK+7wa1QOJW+Ci1hxLzrsgTcPPIwDaTKxXybJoIL+hmo0sefN9dubikv0wqmB7OQN/xlXyiALHbJ1lmZ2lR6LNjYUbbziwhofePN2s6kO/LlSPdoYZr/5A09eb/mekmcNDVmqYsqw3vPN5iajhT68s3Kkg4Q1AU2gn7CLy/wPT7oeDi2yyz9QBAqao3AHhT7L2QE/RSUnoj44ZdqJ8UloEUlqU/EVCKVVGH9P8Dy/ayu3SDhuqoSnH0C8uGsnVHZ8S5hvNruFY0S9yMDxioOUihZBn09AWIH2uCEt+4RMC36wxmeo/v7mDf3bD9plFAK9z9T5/wKyr/CEtWjQKcGwH8LIevQeWqIFBDbayAQY5nAWPbJgGaytkkwSdZRpmYz5ZJSfzb4CT1wabXTs5Py9r9kJC+OgBGiG99APGpnypJD0qsDAJyIW0n02zLqykBGh3UiJBIYUsh5DZ2XNfrGOKeMDGIHNZ/PZMPrzuY6wX6xlD2WNMTcI9g7c9621rcY6peEyruozsvsH5jBEZzx75v2/ip7NhA9HJfkmBVfiCqIOhyE8c866vxLA/YwSVh7lbIE5lWFjw2Jlo5FUfUvl4oIw00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J6XJJMwp/bpYje6nOXa/WT0mBTFveFitz6ZHfYXd88b6kBWNllVAv2R8LgkPNh23H2K8ERE0R3VjXTtC2vW6FqkkrBy4IOLIkSHbNAQqFzRFbYaKfWF7YcYqDIH61LqGAx31n1Rpq1SYbBOdOhDHrFT5lCIqDeqGPVObnDK46x1IMvdI9Iye5zLU0pRfwoi9afbybSLpp3920cw7MqDovbK6RIOoqECHzpRtyp0cVkrS21oD4pE/ryvxU9mFLFGGetwR/BpJdB4nJxw8uv5h9mP9Rv2obx6ekJRTSTfkW/6c6ntct6DD+jmH96fnv1+eZZuxTK4N3z9lp6JyD2YydHP0HMveo/8C3gf5oMGZUhZMvGhZMU1/1+yglfHD76peEe51lzzhwe6az85vdnQ8teIriTLGpxKLW9zfbOptp8H6OqUytMLWabNAzceZw/+/UUZQn9gVEaPufcFx5e/hZSWg3P6ivH6o1933t4XjL2THuVI3+yKVO0kDkaq3Y4TIXAIL8reTGre+cfLK17xZfkQ0qd5izu4o7EG7rIjNvmX6lVae+AaTBtT/8+zTvr7L9vjwQ4=
sidebar_class_name: "post api-method"
info_path: docs/api/otterscale-service
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"DeleteApplicationPod"}
>
</Heading>

<MethodEndpoint
method={"post"}
path={"/otterscale.application.v1.ApplicationService/DeleteApplicationPod"}
context={"endpoint"}
>

</MethodEndpoint>



DeleteApplicationPod

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>

<ParamsDetails
parameters={[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"type":"number","title":"Connect-Protocol-Version","enum":[1],"description":"Define the version of the Connect protocol","const":1}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"type":"number","title":"Connect-Timeout-Ms","description":"Define the timeout, in ms"}}]}
>

</ParamsDetails>

<RequestSchema
title={"Body"}
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"scopeUuid":{"type":"string","title":"scope_uuid"},"facilityName":{"type":"string","title":"facility_name"},"namespace":{"type":"string","title":"namespace"},"name":{"type":"string","title":"name"}},"title":"DeleteApplicationPodRequest","additionalProperties":false}}},"required":true}}
>

</RequestSchema>

<StatusCodes
id={undefined}
label={undefined}
responses={{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","description":"A generic empty message that you can re-use to avoid defining duplicated\n empty messages in your APIs. A typical example is to use it as the request\n or the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }","title":"google.protobuf.Empty"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["not_found"],"enum":["canceled","unknown","invalid_argument","deadline_exceeded","not_found","already_exists","permission_denied","resource_exhausted","failed_precondition","aborted","out_of_range","unimplemented","internal","unavailable","data_loss","unauthenticated"],"description":"The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]."},"message":{"type":"string","description":"A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."},"details":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"A URL that acts as a globally unique identifier for the type of the serialized message. For example: `type.googleapis.com/google.rpc.ErrorInfo`. This is used to determine the schema of the data in the `value` field and is the discriminator for the `debug` field."},"value":{"type":"string","format":"binary","description":"The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the `type` field."},"debug":{"oneOf":[{"type":"object","title":"Any","additionalProperties":true,"description":"Detailed error information."}],"discriminator":{"propertyName":"type"},"title":"Debug","description":"Deserialized error detail payload. The 'type' field indicates the schema. This field is for easier debugging and should not be relied upon for application logic."}},"additionalProperties":true,"description":"Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.","title":"connect.error_details.Any"},"description":"A list of messages that carry the error details. There is no limit on the number of messages."}},"title":"Connect Error","additionalProperties":true,"description":"Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation"}}}}}}
>

</StatusCodes>



4 changes: 2 additions & 2 deletions docs/api/application-service-get-application.api.mdx

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/api/application-service-list-applications.api.mdx

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions docs/api/application-service-list-namespaces.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
id: application-service-list-namespaces
title: "ListNamespaces"
description: "ListNamespaces"
sidebar_label: "ListNamespaces"
hide_title: true
hide_table_of_contents: true
api: eJytWgtz2zYS/is76KSRbihKspN0rLYz57pJ6o7zmMi+3sXyyBC5FNGQAAuAkhWf/vvNAqBEWXac9qpJJhKw2Bd2Fx8WuWWWzw0bXbLjqipEwq1Qcox6IRJkVxFTFWo3dpqy0T000zNh7Fteoql4goZFrOKal2hRE9dbJnmJbMROlJSY2N57raxKVNH7F2ojlGQRE5KNWI48Rc0ipvGPWmhM2cjqGiNmkhxLzka3zK4q4iTrcuYorbDFI6xR1iUbXQ6vIpaiSbSoSHU2Yj9jJiSCzREWnhpU5n4GblAFbixiiZLGstFwvY727DkXJara9t6YPUu+XvMdJg8qaj1VBEJCadh6feW9hcb+pNIVCUqUtCgtfeXbrer/bojX7b5GavY7JpY2TdNGW4HG06kKL2qRtkiN1ULOW8o7omlNVOuIZTwRhbCrt849D69q6KbOj+v1dmY3kD54w1jEeJoKsoIX71tKZrwwuKb1uwHjBkylpPGmHAwG9M+uU8d1kqAxfmv/DofJbQJsabnWfEVRYbE0X8fjS57zDotYwWdY3MuvoQwUD7nuYRELXtR+UxKN3GJ67DzTTIfBKXfC7vDAG15WBbpScjA4OOwNhr3h8/PBcHQ4GA2fx4PhRxbRzLPe8KB38Px8e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H+e2l/j6vBpNbCrtjo8mr7a0zx74v+T9yI5LgmWZs6QEY0T4z0e0Y0zs8EmT5sXwVDb+LOq16rEO682zXjawIUmWo//rwjI8dkJDTPw3cd1iKhKzrkKzrF/VVhjpThmea+u0t986rglqoPnUjZijI58d2TCIxV2mWCRLtU+pOQc39TVzrJqSfvc5kSgfxOUIfecdzbgjDYm2uehqMkccOwecd2GUJwkyd2++zGTvJaznu/mJpLODdcEFrSRfA0RZXgxuZJPBc2r2exUIQqSy6I5PNNnPxTrpI6xrSO7dK90okECRxvJRy/fn/WO4wHcBam7koIrClmtxHV/jor1KxfcmNR989OT16+Hb90h1x47h6xxZB+U3SWXLZE78Xczr5tgsrije1XBReS2DjlbkOQX7I/E+QsuivyKmI5Jc3okt3e0nF5oYv1mob/qFGH2F9wLRxqHV1eraPmIZ1Ov1QYmkjDpWLPgM31gXU+hIZHF7aPlLuGfcLVl//XQEANjNF7/9eL/jp5O2/9O5I2dMSvd06sthR7t6LtimPXQfki7VWreL1/Nz5nEZuF/zJQuisT03xJNxO+9Ib4LpQrP27slhVczmsH4ZnnSZ//AVn+2R0=
sidebar_class_name: "post api-method"
info_path: docs/api/otterscale-service
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"ListNamespaces"}
>
</Heading>

<MethodEndpoint
method={"post"}
path={"/otterscale.application.v1.ApplicationService/ListNamespaces"}
context={"endpoint"}
>

</MethodEndpoint>



ListNamespaces

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>

<ParamsDetails
parameters={[{"name":"Connect-Protocol-Version","in":"header","required":true,"schema":{"type":"number","title":"Connect-Protocol-Version","enum":[1],"description":"Define the version of the Connect protocol","const":1}},{"name":"Connect-Timeout-Ms","in":"header","schema":{"type":"number","title":"Connect-Timeout-Ms","description":"Define the timeout, in ms"}}]}
>

</ParamsDetails>

<RequestSchema
title={"Body"}
body={{"content":{"application/json":{"schema":{"type":"object","properties":{"scopeUuid":{"type":"string","title":"scope_uuid"},"facilityName":{"type":"string","title":"facility_name"}},"title":"ListNamespacesRequest","additionalProperties":false}}},"required":true}}
>

</RequestSchema>

<StatusCodes
id={undefined}
label={undefined}
responses={{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"namespaces":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","title":"name"},"labels":{"type":"object","title":"labels","additionalProperties":{"type":"string","title":"value"}},"createdAt":{"title":"created_at","type":"string","examples":["2023-01-15T01:30:15.01Z","2024-12-25T12:00:00Z"],"format":"date-time","description":"A Timestamp represents a point in time independent of any time zone or local\n calendar, encoded as a count of seconds and fractions of seconds at\n nanosecond resolution. The count is relative to an epoch at UTC midnight on\n January 1, 1970, in the proleptic Gregorian calendar which extends the\n Gregorian calendar backwards to year one.\n\n All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap\n second table is needed for interpretation, using a [24-hour linear\n smear](https://developers.google.com/time/smear).\n\n The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By\n restricting to that range, we ensure that we can convert to and from [RFC\n 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.\n\n # Examples\n\n Example 1: Compute Timestamp from POSIX `time()`.\n\n Timestamp timestamp;\n timestamp.set_seconds(time(NULL));\n timestamp.set_nanos(0);\n\n Example 2: Compute Timestamp from POSIX `gettimeofday()`.\n\n struct timeval tv;\n gettimeofday(&tv, NULL);\n\n Timestamp timestamp;\n timestamp.set_seconds(tv.tv_sec);\n timestamp.set_nanos(tv.tv_usec * 1000);\n\n Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.\n\n FILETIME ft;\n GetSystemTimeAsFileTime(&ft);\n UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;\n\n // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z\n // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.\n Timestamp timestamp;\n timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));\n timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));\n\n Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.\n\n long millis = System.currentTimeMillis();\n\n Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)\n .setNanos((int) ((millis % 1000) * 1000000)).build();\n\n Example 5: Compute Timestamp from Java `Instant.now()`.\n\n Instant now = Instant.now();\n\n Timestamp timestamp =\n Timestamp.newBuilder().setSeconds(now.getEpochSecond())\n .setNanos(now.getNano()).build();\n\n Example 6: Compute Timestamp from current time in Python.\n\n timestamp = Timestamp()\n timestamp.GetCurrentTime()\n\n # JSON Mapping\n\n In JSON format, the Timestamp type is encoded as a string in the\n [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the\n format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\"\n where {year} is always expressed using four digits while {month}, {day},\n {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional\n seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),\n are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone\n is required. A proto3 JSON serializer should always use UTC (as indicated by\n \"Z\") when printing the Timestamp type and a proto3 JSON parser should be\n able to accept both UTC and other timezones (as indicated by an offset).\n\n For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past\n 01:30 UTC on January 15, 2017.\n\n In JavaScript, one can convert a Date object to this format using the\n standard\n [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)\n method. In Python, a standard `datetime.datetime` object can be converted\n to this format using\n [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with\n the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use\n the Joda Time's [`ISODateTimeFormat.dateTime()`](\n http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()\n ) to obtain a formatter capable of generating timestamps in this format."}},"title":"Namespace","additionalProperties":false},"title":"namespaces"}},"title":"ListNamespacesResponse","additionalProperties":false}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","examples":["not_found"],"enum":["canceled","unknown","invalid_argument","deadline_exceeded","not_found","already_exists","permission_denied","resource_exhausted","failed_precondition","aborted","out_of_range","unimplemented","internal","unavailable","data_loss","unauthenticated"],"description":"The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]."},"message":{"type":"string","description":"A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."},"details":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"A URL that acts as a globally unique identifier for the type of the serialized message. For example: `type.googleapis.com/google.rpc.ErrorInfo`. This is used to determine the schema of the data in the `value` field and is the discriminator for the `debug` field."},"value":{"type":"string","format":"binary","description":"The Protobuf message, serialized as bytes and base64-encoded. The specific message type is identified by the `type` field."},"debug":{"oneOf":[{"type":"object","title":"Any","additionalProperties":true,"description":"Detailed error information."}],"discriminator":{"propertyName":"type"},"title":"Debug","description":"Deserialized error detail payload. The 'type' field indicates the schema. This field is for easier debugging and should not be relied upon for application logic."}},"additionalProperties":true,"description":"Contains an arbitrary serialized message along with a @type that describes the type of the serialized message, with an additional debug field for ConnectRPC error details.","title":"connect.error_details.Any"},"description":"A list of messages that carry the error details. There is no limit on the number of messages."}},"title":"Connect Error","additionalProperties":true,"description":"Error type returned by Connect: https://connectrpc.com/docs/go/errors/#http-representation"}}}}}}
>

</StatusCodes>



Loading
Loading