async getReadOnly()

in packages/enterprise-search/src/api/enterprise/api.ts [42:47]


  async getReadOnly (this: That, params?: T.GetReadOnlyRequest, options?: TransportRequestOptions): Promise<T.GetReadOnlyResponse> {
    return await this.transport.request<T.GetReadOnlyResponse>({
      method: 'GET',
      path: '/api/ent/v1/internal/read_only_mode'
    }, options)
  }