Skip to content

The CLI calls the deprecated /v1/apps endpoints; the management API now serves /v1/services #304

Description

@wmadden-electric

The CLI's adapter (packages/cli/src/lib/app/app-provider.ts) still calls /v1/apps and /v1/deployments with App/Deployment names. The platform has done its half of the App-to-Service rename: @prisma/management-api-sdk offers /v1/services/* and marks /v1/apps @deprecated ("use GET /v1/services instead"). @prisma/compute-sdk (prisma/project-compute) is also still on /v1/apps. Move the adapter to the Service endpoints before the deprecated ones are removed.

Recorded in the prisma-cli-v8 project ledger, which is being deleted at project close-out:

- **The wire layer still speaks App/Deployment.** The CLI surface says Service/Version (ADR-012), while the adapter (`packages/cli/src/lib/app/app-provider.ts`), compute-sdk names, `/v1/deployments` paths, and `appId` keep platform vocabulary. They rename in pdp-control-plane's coordinated all-surfaces pass, and the adapter is the one file where both vocabularies are allowed to meet until then.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions