Discussions

Ask a Question
Back to all

Unable to retrieve API Definition ID after upload

I recently uploaded a new API definition using the rdme CLI tool with the following command:

rdme openapi upload v2/catalog/numberverification/numberverification_openapi.yaml --version=2

The upload was successful and I received confirmation that the API definition was created with the slug "v2catalognumberverificationnumberverification_openapi.yaml". However, I didn't receive an API Definition ID in the output, which I need to configure my GitHub Actions workflow for future updates.

I've tried several methods to retrieve the ID:

  • Using the API endpoint (but received an "API_ACCESS_UNAVAILABLE" error mentioning Git-backed systems)
  • Looking in the dashboard, but the API entry is not clickable and only shows a "view as OAS" option
  • The URL shown is the public OpenAPI URL, not an admin/edit URL

My project appears to use Git-backed systems. Could you please help me:

  1. Find the API Definition ID for "v2catalognumberverificationnumberverification_openapi.yaml"
  2. Clarify how to retrieve IDs for future API uploads in Git-backed projects

Thank you for your assistance!