Trails

Get merge readiness for a trail

get/api/v1/trails/{forge}/{owner}/{repo}/{number}/mergeability

Path parameters

forgestring required
ownerstring required
repostring required
numberstring required

Response

Trail mergeability

head_shastring nullable required
behind_bynumber required
comparison_status'available' | 'unknown' required
conflict_status'clean' | 'conflicting' | 'unknown' required
mergeableboolean required
bypass_policy'nobody' | 'admins' | 'admins_author' required

Changes

Changed in 4 of the 29 revisions of this API.4120

  • 14c8416feab7116See the full diff
    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      the response property / became required for the status

      response-property-became-required

    • ○

      added the required property // to the response with the status

      response-required-property-added

    • ○

      added the required property // to the response with the status

      response-required-property-added

    • ○

      added the required property // to the response with the status

      response-required-property-added

    • ○

      added the required property // to the response with the status

      response-required-property-added

    • ○

      added the required property // to the response with the status

      response-required-property-added

    • ○

      added the required property // to the response with the status

      response-required-property-added

    • ○

      added the required property // to the response with the status

      response-required-property-added

    • ○

      added the required property // to the response with the status

      response-required-property-added

    • ●

      added the new base_checks enum value to the // response property for the response status

      response-property-enum-value-added

  • 0eb4157af08b33See the full diff
    • ▲

      the response's property type changed from array to object for status

      response-property-type-changed

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the required property / to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added