WhyDocsPricingDownloadChangelogGitHub

Documentation

  • Docs
    • Getting Started
      • Installation
      • Quick start
    • Concepts
      • Files-first
      • The hierarchy
      • OpenAPI as the source of truth
      • Instance visibility
      • Environments
    • Guides
      • Importing a spec
      • Request instances
      • Auth & middlewares
      • Writing workflows
      • CI/CD
      • Documenting an API
      • Pro license
    • Interface
      • Navigation
      • History
      • Command palette
      • Keyboard shortcuts
    • Reference
      • File formats
        • config.json
        • api.json
        • _resource.json
        • Request instances
        • Environment files
        • schema.rules.json
        • Documentation files
        • Workflow files
    • CLI reference
      • project
      • api
        • list
        • create
        • delete
        • set auth bearer
        • set auth api-key
        • unset auth
        • overrides
      • schema
      • spec
      • req
      • env
      • workflow
      • license
      • completion
    • Plugins
      • Using plugins
      • Writing a plugin
CLI›api›list

craftr api list

List the APIs in the project.

Usage

craftr api list

Related commands

  • api create· Create a new API.
  • api delete· Delete an API.
  • api set auth bearer· Set the API default auth to a bearer token. Supports {{variables}}.
  • api set auth api-key· Set the API default auth to an API key sent as a header or query parameter.
  • api unset auth· Clear the API default auth.
  • api overrides· List all overrides for an API, grouped by kind (api, resource, operation, parameter).

See also

  • Auth & middlewares
  • api.json format