start-public-api.ts 343 B

12345678910111213
  1. import NodeCommandBase from '../../command-base/node'
  2. export default class NodeStartPublicApiCommand extends NodeCommandBase {
  3. static description = `Send an api request to start public api of given distributor node.`
  4. static flags = {
  5. ...NodeCommandBase.flags,
  6. }
  7. protected reqUrl(): string {
  8. return '/api/v1/start-api'
  9. }
  10. }