Skip to content

Rename authorization endpoint and related files #6028

@simeonlee

Description

@simeonlee

Background

PR #6008 standardized authorization naming to use:

  • Authorization (noun) - for types, states
  • Approve / Reject (verbs) - for actions

This issue tracks remaining items that should be renamed for consistency.

Tasks

  • Rename API endpoint /api/autopilot/sessions/:session_id/events/authorize/events/authorizations (POST)
  • Rename route file authorize.route.tsauthorizations.route.ts
  • Rename utility file authorize.tsauthorization.ts (or leave as-is)
  • Rename hook file use-manual-approval.tsuse-manual-authorization.ts (exports useManualAuthorization)

Notes

The endpoint rename requires coordination with the backend/gateway. File renames can be done independently but should ideally happen together for consistency.

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