Skip to content

create deployment status in_progress or queued require different media-type #978

Description

@clxmstaab

per github docs https://docs.github.com/en/rest/reference/repos#create-a-deployment-status the api post needs to use a different media-type when certain deployment statuses are used

quote:

Note: To use the inactive state, you must provide the application/vnd.github.ant-man-preview+json custom media type. To use the in_progress and queued states, you must provide the application/vnd.github.flash-preview+json custom media type. When you set a transient deployment to inactive, the deployment will be shown as destroyed in GitHub.

the docs at https://github.com/KnpLabs/php-github-api/blob/master/doc/repo/deployments.md don't show how the api can be used for this deployment states. could you give me a hint on how it should be used?

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