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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
.docusaurus
.cache-loader

# OpenAPI spec (fetched from druid-cli master)
openapi.yaml

# Misc
.DS_Store
.env.local
Expand Down
1,852 changes: 1,007 additions & 845 deletions bun.lock

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/cli/api/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"label": "API Reference",
"position": 101,
"collapsed": false,
"link": {
"type": "doc",
"id": "cli/api/druid-cli"
}
}
1 change: 1 addition & 0 deletions docs/cli/api/add-command.ParamsDetails.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parameters":[{"name":"command","in":"path","required":true,"schema":{"type":"string"},"description":"Command Name"}]}
1 change: 1 addition & 0 deletions docs/cli/api/add-command.RequestSchema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["procedures"],"properties":{"dependencies":{"type":"array","items":{"type":"string"}},"procedures":{"type":"array","items":{"type":"object","required":["mode"],"properties":{"mode":{"type":"string","description":"Procedure execution mode"},"id":{"type":"string","nullable":true,"description":"Unique procedure identifier"},"wait":{"oneOf":[{"type":"string"},{"type":"integer"},{"type":"boolean"}],"description":"Wait condition"},"data":{"description":"Procedure data payload"},"ignore_failure":{"type":"boolean","description":"Whether to continue on failure"}},"title":"Procedure"}},"needs":{"type":"array","items":{"type":"string"}},"run":{"type":"string","enum":["always","once","restart","persistent"],"description":"Run mode for the command"}},"title":"CommandInstructionSet"}}}}}
1 change: 1 addition & 0 deletions docs/cli/api/add-command.StatusCodes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"responses":{"201":{"description":"Command created"}}}
69 changes: 69 additions & 0 deletions docs/cli/api/add-command.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
id: add-command
title: "Add command to current scroll"
description: "Adds a tempoary command to current scroll, useful to add temporary functionality (e.g. used for developer mode at druid.gg)"
sidebar_label: "Add command to current scroll"
hide_title: true
hide_table_of_contents: true
api: eJzFVktv3DYQ/ivEnBJA8do96uYmLeC0aA0/4MNmUcyKsyvGFCmTw7UXgv57MZS0T6dFT71JJOf9fR/ZgW8pIBvvbjSUgFp/9k2DTkMBmmIVTCubUMK11lGhYmpaj2GrquGcYq+qFAI5VrEK3tpCpUirZGUHtR4sgpiskqvEG1rDW/WBLtYXclarlQ9K04asZKMar0khKx2S0Rfr9UcogHEdoZzDEEKSQ2q8g0UBkaoUDG+hnHewJAwUrhPXUM4X/aKAFgM2xBRiPuCwISih2lVppLgWuYYCAr0kE0hDySFRAbGqqUEoO+BtK2aRg3Fr6E+bMzZN/SHeJap4osg/e70V81PHlXdMjmUL29aaKo9g9j2Kt+48rl9+p4qPMpxDG3xFOgWK0oY2SPPYUBQ7TS05Ta4a/0c/GAJupWimJr5TV18cev13u3fzkvmdZ5RXzyKeNvJ2iq7ojaokqxkP0nKj37N3yVpcWppae+zv0ZmXRGpXlDKaHJuVoSAuX9HkIXhHf64yPk4HvVsxjmmdrXZLS+8tocsDPw77hIZV5Z02eUHwgozDYN4vV/ZVi1vrUedi184H+muFxqZw2Lgp6FnImrimkPnoHRuXSHmnJgcyWjYsfdpHzauOSP9HjITk3hsFudQIANC+4jZCAd5VlMERGYPApKUQTczQP+vZXRpGndWAa5oU5ij1kWg3LnJIWUzuiaHvc1YUW+/iALefLq/O2z3RtAqETIPnhrj2on1tyhmKEpQww9bMNlezQW9mYypx1o1fPYjwhM0kKylYsTqbyhfRMPX59xt1fXuTgTLJ1b1wfMj1ULR2Xa2ZWxglKM89H4Ji/PjVhwYZSvj69HAW9evTg2L/TE6tgm9GzPNWaLAxeoB+3j+Jia35jbaTKL4kCvIzSmY2OAt1X/vAn6zZkFbZYArsg3qi5b2vnilTwVEeV8xNF6G720vkL2/YtJbOhWs+gWtxLEzzSU/24BN12P8NxD7YPaGTaIVMYwT/YZwM7gnDwkS38rlHIwR3I4UCZP5DHy4vri4u/2H8Ri7PXEKMKiTnhKo1srKYXFVTVALMBh2uKaoNBuNTVNEHjsqvvrmDayIWyppnUmtsaMRgkfVjiZGi8kG90nLcuPgmIxNBwEqULiu8j9xgZvA42mutf3yfnxbV7W+v//tRMKCW6Y1nrUWThTYzsRt5PBdIy5yuMpXGciY2QwHlJDKLAmofWUy6Thr5GGzfy/JAg3K+KEDGMtw18w60ifKtoVyhjac3z2GXPtyNt+NHdfRQ+EEFExmdkG+DNskfFPBM24OXS7/oC6gJhc6SzrD7eQj66UF87K3PHhmC/Z3y3T6KhCzHt8pIrICvIt34OgT37cBeeczIWgcW3TrhWs4OLgVbeCwoJ6J1eMMel9d1w4kHEY++31U7iE6/6Pv+b24StCM=
sidebar_class_name: "put api-method"
info_path: cli/api/druid-cli
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";
import Translate from "@docusaurus/Translate";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Add command to current scroll"}
>
</Heading>

<MethodEndpoint
method={"put"}
path={"/api/v1/scroll/commands/{command}"}
context={"endpoint"}
>

</MethodEndpoint>



Adds a tempoary command to current scroll, useful to add temporary functionality (e.g. used for developer mode at druid.gg)

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
{...require("./add-command.ParamsDetails.json")}
>

</ParamsDetails>

<RequestSchema
{...require("./add-command.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
{...require("./add-command.StatusCodes.json")}
>

</StatusCodes>



1 change: 1 addition & 0 deletions docs/cli/api/add-port.RequestSchema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"title":"Body","body":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["port","protocol","name"],"properties":{"port":{"type":"integer","description":"Port number (1-65535)","minimum":1,"maximum":65535,"example":8080},"protocol":{"type":"string","description":"Network protocol (tcp or udp)","enum":["tcp","udp"],"example":"tcp"},"name":{"type":"string","description":"Port name/identifier","example":"my-service"},"mandatory":{"type":"boolean","default":false,"description":"Whether this port must be open for health check"},"check_activity":{"type":"boolean","default":false,"description":"Whether to monitor port activity"},"description":{"type":"string","description":"Optional port description"}},"title":"AddPortRequest"}}}}}
1 change: 1 addition & 0 deletions docs/cli/api/add-port.StatusCodes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"responses":{"201":{"description":"Port added successfully","content":{"application/json":{"schema":{"type":"object","required":["port","protocol","name","inactive_since","inactive_since_sec","open"],"properties":{"port":{"type":"integer","description":"Port number"},"protocol":{"type":"string","description":"Network protocol"},"name":{"type":"string","description":"Port name/identifier"},"sleep_handler":{"type":"string","nullable":true},"mandatory":{"type":"boolean"},"vars":{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string"},"value":{"type":"string"}},"title":"ColdStarterVars"}},"start_delay":{"type":"integer"},"finish_after_command":{"type":"string"},"check_activity":{"type":"boolean"},"description":{"type":"string"},"inactive_since":{"type":"string","format":"date-time","description":"When the port became inactive"},"inactive_since_sec":{"type":"integer","description":"Seconds since port became inactive"},"open":{"type":"boolean","description":"Whether the port is currently open"}},"title":"AugmentedPort"}}}},"400":{"description":"Invalid port configuration","content":{"application/json":{"schema":{"type":"object","required":["status","error"],"properties":{"status":{"type":"string","example":"error"},"error":{"type":"string","description":"Error message"}},"title":"ErrorResponse"}}}}}}
69 changes: 69 additions & 0 deletions docs/cli/api/add-port.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
id: add-port
title: "Add a port to watch"
description: "Add a new port to be monitored by the port service (in-memory only)"
sidebar_label: "Add a port to watch"
hide_title: true
hide_table_of_contents: true
api: eJy1V1Fv2zYQ/ivEPXWA0jjbOhR6y7oOSDesRZMtD65hnMmzxUYkVZJyKhj678WRUqzEXg2s3ZNlHXnHO37fd6cduIY8Ru3slYISUKl3zkcoQFGQXjdsgRIulRIoLN2LxvkoohMrEsZZHZ0nJVadiBVlWyC/1ZLEM23PDBnnO+Fs3f0ABUTcBCjn0AwhkIyzsCggkGy9jh2U8x2sCD35yzZWUM4X/aIAT59aCvFXpzood+mv9qSgjL6lAqSzkWxkEzZNrWXK5/xj4KPvIMiKDPJT7BqCEtzqI0k+wN7Rw5ka76KTroYCLBriwzWeaxQ1BfaR1u19aRtpQ/6gYFxFYVuzIi+eXZz98uLFTy+4BEZbbVoD5UUBBj/n52QtgD6jaWqC8uXs5ayfnGUfLkSv7eYg2l8U752/E+MO8SzKRjgvWtVwVLIcZg5RNlBAqxrO6yFcet0PCZ+MlTNDQ+dakY16rVP6e2+mOxswwE4NWoXR+W7ieeVcTWiT6zW2dYRyjXWgp6FuK4oVeRErHTK4TBsiQ881ZMXaeVER1rESsiJ5x+HSwxJl1NuEp/8e0434zpEfXPZPdpyq19v0gHV2M7X1fQFRx1S0y0y89xnp0Pds9BQaZ0MG3o+zC/45chmoFCkRWikphHVb1x38v6QoQNtUD1oGbeXhi2UgCQVri/0eDIJvIsM3QrsvINREzbJCq2ryx9zYtq5xxRfJinQC9X0BW/RhYkHvke9MRzLh1J0MN7DFuj0iT8cT7cf1h5YJBl+5Wl1H9JH8P3xAtgX+v1RUY3fkzvoC1trqUC1xHckvpTOc+dEDnGTmKWL1B7A7chNr5w1GKEFhpLOoU60OGG737WpFEg2J0fNhlITl03C9JumsCiLt+VfXiRHHRem48A2udBCy9Z5srLskfo/Fo90YspFy787a8fNsdigXV3aLtVbZp3R2rTdt7v7fSzFCxNgG7gfeO3+Iz8F+5Ob2DSRv7UcfJ2n7mpcJQyHghh4VJlneDyqaCsPcpFg5HnYaF5K6IU8acI6NPt9enHNtOAHuYcQ0ne+g9TWvOIj8m2+1Eq/+vBKX766gn0wy11ytnPJ0nnlIpYqRW3EqakJCWgTF8PD7COM3tzcHUd/c3ojo7rgDemdE1qrYseBttcq0TPYnMbHRf1DSGfbyqSXfjYpe5g2HqK6cj2e13pISacMY2HlxS6trJ+8oIcmS5C1ZNBgy7/cz2+vxZkft5/lmqujDXDKcZDI/PBLSoV0/1ZGjXXwqGWuXajBA4uHKWEPJh7x+9vzi+ewr16uDQK4vd1jhW2sTOTGKGlsrKwoCrRIGLW4oiC167dogAkNJuPUHOyFUKESt70hs0NCAsUIojLjCQIGHtntaDYbnH0ZiomRicnEZtQbtXuyH4XwczO8xyuppKrs9u7/XLJ8xFelzPG9q1Em/E092A6PmDDiu8gWTLLFqUUDFpCvnsNtxvn/7uu/5dUZjOV+k5qhzM50v+gIqQsY00/COutSmUiZnN3yCh8Z2qFl9Me64lJKa+NW1i4kuvHt7zaRbDZ8bxine4/GetQ7voYQ022S88/cIv9tBjXbTsgKVkH3ybeFjCj6hecpqZKftJifc7fKKG6Zb30MxpJJp2i/6vv8CK0fFdw==
sidebar_class_name: "post api-method"
info_path: cli/api/druid-cli
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";
import Translate from "@docusaurus/Translate";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Add a port to watch"}
>
</Heading>

<MethodEndpoint
method={"post"}
path={"/api/v1/ports"}
context={"endpoint"}
>

</MethodEndpoint>



Add a new port to be monitored by the port service (in-memory only)

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
parameters={undefined}
>

</ParamsDetails>

<RequestSchema
{...require("./add-port.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
{...require("./add-port.StatusCodes.json")}
>

</StatusCodes>



1 change: 1 addition & 0 deletions docs/cli/api/create-token.RequestSchema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"title":"Body"}
1 change: 1 addition & 0 deletions docs/cli/api/create-token.StatusCodes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"responses":{"200":{"description":"Generated token","content":{"application/json":{"schema":{"type":"object","required":["token"],"properties":{"token":{"type":"string","description":"The generated authentication token"}},"title":"TokenResponse"}}}}}}
61 changes: 61 additions & 0 deletions docs/cli/api/create-token.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
id: create-token
title: "Create WebSocket token"
description: "Generate a short-lived token for WebSocket authentication"
sidebar_label: "Create WebSocket token"
hide_title: true
hide_table_of_contents: true
api: eJylk01v2zAMhv+KwLPWpDv6VnRb0W6HYc3QQ+oDI7OxGltSJTpbYPi/D5Sdj7ZBL/PFtkRRLx++7MEHisjWu9sKCjCRkGnhN+RAQ0XJRBtkFwq4ISehpFCl2kf+1NgtVYolWD35qB5ode/NhlhhxzU5tiZnBg2M6wTFEv7QKuUQyY7UegelhkSmi5Z3UCx7WBFGilcd11Asy6HUECkF7xIlKHr4PJ/L67y0SQ1oMN4xOZZQDKGZlMyek8T3kExNLcoX7wJBAX71TEZURXrpbKRK1I7JSg0hCia2o4Rx+Xg2cbRu/Y7Xoia1Pgh7jWTSOQwa2HIjWTL0X1OpMMijoSWuvTRmnZEFFCoww2Bn28vZvthEcUsxZXxdbCTinZovsbOVuv5xq65+3sJwQv1eWIyVnbI/lFczB7kkh0ExBYGePr752CJDAXcPi3e33j0s9gaJvlW2EgS8UyH6ra0oggCQ/Td3YrDfaQcarGR56SjKj8MsgM/a8/7Ek/nAWWca7xwZOZIyfeuefL536sIBE2gQpmPu+cXlxfwDpDYplJoMpaRi5xxFxTWyarBzpqak0FWqRYdrSmqL0fouqeQjJ+WfHt2JRZNWjd2QWmNLU1+1qpBxhYmS8lHJDI0bF497q6MRq0tBwSduMdtzwnWdZ/qEwVl+/XFk/m/SxwYy/eVZaNA6aXE2ZT/ZdyndFbyXoI8jVvvEstf3Uujv2AyDLI+tL5alBsGGK+nSshw01IRiIPH8hnZQwJUxFGRKtth0o4neDL64/jBRN1/Frvjad2+8nbPvLel2J7n7fozIUzsMoCcR01yXwzD8A2vv2+o=
sidebar_class_name: "get api-method"
info_path: cli/api/druid-cli
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";
import Translate from "@docusaurus/Translate";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Create WebSocket token"}
>
</Heading>

<MethodEndpoint
method={"get"}
path={"/api/v1/token"}
context={"endpoint"}
>

</MethodEndpoint>



Generate a short-lived token for WebSocket authentication

<ParamsDetails
parameters={undefined}
>

</ParamsDetails>

<RequestSchema
{...require("./create-token.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
{...require("./create-token.StatusCodes.json")}
>

</StatusCodes>



1 change: 1 addition & 0 deletions docs/cli/api/delete-port.ParamsDetails.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parameters":[{"name":"port","in":"path","required":true,"description":"The port number to remove","schema":{"type":"integer","minimum":1,"maximum":65535}}]}
1 change: 1 addition & 0 deletions docs/cli/api/delete-port.RequestSchema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"title":"Body"}
1 change: 1 addition & 0 deletions docs/cli/api/delete-port.StatusCodes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"responses":{"204":{"description":"Port removed successfully"},"404":{"description":"Port not found","content":{"application/json":{"schema":{"type":"object","required":["status","error"],"properties":{"status":{"type":"string","example":"error"},"error":{"type":"string","description":"Error message"}},"title":"ErrorResponse"}}}}}}
69 changes: 69 additions & 0 deletions docs/cli/api/delete-port.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
id: delete-port
title: "Remove a watched port"
description: "Stop watching a port (in-memory only)"
sidebar_label: "Remove a watched port"
hide_title: true
hide_table_of_contents: true
api: eJyNVEtv20YQ/iuLOSXAxrLbuAfejMYFnOYQ2C58UHQYkSNxY+4js0PFArH/vRiS8ktuUF7I5c77+74ZICZiFBfDVQMVNNSR0NfIAhYayjW7pJdQwY3EZH6i1K0LW4MmRRbzzoUPnnzkvYmh278HC4LbDNUS0hwEyccAKwuZ6p6d7KFaDrAmZOKLXlqolquyspCQ0ZMQ59EgoCeoDlGcVpBQWrDA9KN3TA1Uwj29LvO2pam00Ps1sZFomHzcEVjIdUseoRpA9kmjuyC0JQYL3gXnew/VmQWPD9P3H+fnv58XLY4ppxgyZXX+7fSjvl7m1ZnNmRqT+7qmnDd91+2hWPj4nx4hitnEPjRgoY5BKIhaYkqdq0dcFt+zmg/H1cf1d6rlxUSWkAWlz2CBmCPr3BMrxuKm4uf7pyhZ2IWtOjygT53+mlzLIcYbti87uVQz4yln3BKUYkGcjJHGm+t5eFD0seBJ2vjENrATshUsMLnF7myh+OXFoK+isBHvDrTouVPDoxI+ce8a8+eXK3Px9QrKM7rd6Nim3p+T7rGnViQduKHnyQjs/PFXZI8CFXy+uz3K+vnu1ki8p2A2HL1xDQVxsjeJ4841NM5wvH+VE5P7m/YHXv/oifUwU350OJZfG1k+dE7pNTocEkc2d7S+ifU9ialjCFSrSx5xcGETx7wzHo9jAgs60yn26cnZyekvRuqy6p2jctpwH4LqqkUxHfahbikbDI3xGHBL2eyQXeyzyYqiiZtv4RmbszWduyezRU8zrtY0KLjGTNlENj9pPV+cfAuzKrBWVWhDKWbxOOphHtf1qDmD026ixqQ3ttfwJK7/v8gmrIQeZJE6dEHRHPk3zIRdKpA6yTPlsLYLFqox/8pCG7OozTBob/9wV4r+ntCulisLOilcKzDLARqX9buBaoNdfr3Xnjfw7nrW+3vzq233Zv0HAgYl3A67Xk9g4Z72h21bVsVCS6j81cKmq4u6piTPnI5WlIruUdqfLr9c3l6CBXzJ/FfqGhO8WdMwTBa3yvJSHkuc1FFWpZR/AeKfUJU=
sidebar_class_name: "delete api-method"
info_path: cli/api/druid-cli
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";
import Translate from "@docusaurus/Translate";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Remove a watched port"}
>
</Heading>

<MethodEndpoint
method={"delete"}
path={"/api/v1/ports/{port}"}
context={"endpoint"}
>

</MethodEndpoint>



Stop watching a port (in-memory only)

<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
{...require("./delete-port.ParamsDetails.json")}
>

</ParamsDetails>

<RequestSchema
{...require("./delete-port.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
{...require("./delete-port.StatusCodes.json")}
>

</StatusCodes>



1 change: 1 addition & 0 deletions docs/cli/api/disable-watch.RequestSchema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"title":"Body"}
1 change: 1 addition & 0 deletions docs/cli/api/disable-watch.StatusCodes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"responses":{"200":{"description":"Watch mode disabled","content":{"application/json":{"schema":{"type":"object","required":["status","enabled"],"properties":{"status":{"type":"string","description":"Result status of the operation","example":"success"},"enabled":{"type":"boolean","description":"Current watch mode state"}},"title":"WatchModeResponse"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"type":"object","required":["status","error"],"properties":{"status":{"type":"string","example":"error"},"error":{"type":"string","description":"Error message"}},"title":"ErrorResponse"}}}}}}
61 changes: 61 additions & 0 deletions docs/cli/api/disable-watch.api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
id: disable-watch
title: "Disable development mode"
description: "Stop file watching"
sidebar_label: "Disable development mode"
hide_title: true
hide_table_of_contents: true
api: eJytlEtv2zAMx78KwbPWtAN28a3YA2i3YcPaoYcsB8ZmY622pEp0usDQdx8ou03T7oEBO+XB958/akQfOJJY784arLCxidYdX5HULRpsONXRBjVjhRfiA1zbjuFO7dZt0KDQJmG1xLv7EOLeO1wZTFwP0coOq+WIa6bI8XSQFqvlKq8MRk7Bu8QJqxFfHh/rx2G90gX0vmGY+2rQYO2dsBN1pxA6W5fuF9+TxoyY6pZ70m+yC4wV+vV3rgW14O1gIzfabRKSIaFBdlPelcEQVQuxU0ezxz5PkjhNfNjkF05DJzC5g78GaRkeRNUKP6gPXckw1DWnhHlfdp9+7X3H5J7lfz3EyE4myScxtBZjzgbFSslclProG/4yi4o5q/3Vr2Q9c8LRUQcco4//X9GS9R/03As0heb7HH/V/q26Qc8p0eZQkGI5ECMb7Flar5QHn7T9QEojLijYxfZkURRezKSh8hu3HFPBd4idej7r4E0cbAOvP5zB6eczzI+ov1DVptEfs/8wUisStEhx0/0XJzTzl3c+9iRY4fnV5bOq51eXIP6GHVxH34Nt2ImVHYTot7bhImGxP6lJwb7nHRq0muV24Kg/HJUGSsDzm299lBed3XIDJeC+sI9wxesLX9+wQO2d41pDUlmDdde+1J3X8SATGlRNp9zHRydHx3+Q1CYgnUmPBuLgHEeQlgQ6GlzdcgJyDfTkaMMJthStHxIkH0UP8Zt7BHMy0Nkbhg31PO/VQENCa0qcwEe44/VsOPrm5qOgWo9CB1JieirnMMv1ZuIEGt5y50OvN6rX+XSecX9ev3lAp90I/5BF6Mg63V7hbZwJXeriVLkTNPt3duZ0ZbBVnKsljqNO8zV2Oevf036r5cqgalO89e012DIpJQr2De+wwtO65qAnsaVumEh58g4o2g/38/nThUJJh3Q9IbikvwfP7R4lH8fJ41JJyhnN3MVEYF7lnH8CqsxH/w==
sidebar_class_name: "post api-method"
info_path: cli/api/druid-cli
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";
import Translate from "@docusaurus/Translate";

<Heading
as={"h1"}
className={"openapi__heading"}
children={"Disable development mode"}
>
</Heading>

<MethodEndpoint
method={"post"}
path={"/api/v1/watch/disable"}
context={"endpoint"}
>

</MethodEndpoint>



Stop file watching

<ParamsDetails
parameters={undefined}
>

</ParamsDetails>

<RequestSchema
{...require("./disable-watch.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
{...require("./disable-watch.StatusCodes.json")}
>

</StatusCodes>



Loading