projects

Sync a project

post/projects/{id}/sync/

Path parameters

idinteger required

A unique integer value identifying this project.

Response

namestring required
descriptionstring
organization_idinteger nullable required
eda_credential_idinteger nullable
signature_validation_credential_idinteger nullable required
scm_branchstring
scm_refspecstring
verify_sslboolean
proxystring required
idinteger required
urlstring required
scm_type'git' required
  • git - Git
git_hashstring required
import_state'pending' | 'running' | 'failed' | 'completed' required
  • pending - Pending
  • running - Running
  • failed - Failed
  • completed - Completed
import_errorstring nullable required
created_atstring date-time required
modified_atstring date-time required

Changes

Changed in 5 of the 8 revisions of this API.17633

  • cbf68ddd9760119See the full diff
    • removed the required property import_task_id from the response with the 202 status

      response-required-property-removed

    • removed the optional property credential_id from the response with the 202 status

      response-optional-property-removed

    • the endpoint scheme security EDAJWTAuthentication was added to the API

      api-security-added

    • the endpoint scheme security jwtAuth was added to the API

      api-security-added

    • added the optional property eda_credential_id to the response with the 202 status

      response-optional-property-added

    • added the optional property scm_branch to the response with the 202 status

      response-optional-property-added

    • added the optional property scm_refspec to the response with the 202 status

      response-optional-property-added

    • added the required property organization_id to the response with the 202 status

      response-required-property-added

    • added the required property proxy to the response with the 202 status

      response-required-property-added

    • added the required property scm_type to the response with the 202 status

      response-required-property-added

    • added the required property signature_validation_credential_id to the response with the 202 status

      response-required-property-added

    This revision also has 24 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 011f9cfbad09312See the full diff
    • removed the request body

      request-body-removed

    • the id response's property type/format changed from string/uuid to integer/ for status 202

      response-property-type-changed

    • removed the required property href from the response with the 202 status

      response-required-property-removed

    • added the optional property credential_id to the response with the 202 status

      response-optional-property-added

    • added the optional property description to the response with the 202 status

      response-optional-property-added

    • added the optional property verify_ssl to the response with the 202 status

      response-optional-property-added

    • added the required property created_at to the response with the 202 status

      response-required-property-added

    • added the required property git_hash to the response with the 202 status

      response-required-property-added

    • added the required property import_error to the response with the 202 status

      response-required-property-added

    • added the required property import_state to the response with the 202 status

      response-required-property-added

    • added the required property import_task_id to the response with the 202 status

      response-required-property-added

    • added the required property modified_at to the response with the 202 status

      response-required-property-added

    • added the required property name to the response with the 202 status

      response-required-property-added

    • added the required property url to the response with the 202 status

      response-required-property-added

    • the response required property id became read-only for the status 202

      response-required-property-became-read-only

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the endpoint scheme security cookieAuth was added to the API

      api-security-added

    • the request property credential_id became optional (media type: application/json)

      request-property-became-optional

    • the request property credential_id became optional (media type: application/x-www-form-urlencoded)

      request-property-became-optional

    • the request property credential_id became optional (media type: multipart/form-data)

      request-property-became-optional

    • the request required property credential_id became not read-only (media type: application/json)

      request-required-property-became-not-read-only

    • the request required property credential_id became not read-only (media type: application/x-www-form-urlencoded)

      request-required-property-became-not-read-only

    • the request required property credential_id became not read-only (media type: multipart/form-data)

      request-required-property-became-not-read-only

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the endpoint scheme security cookieAuth was removed from the API

      api-security-removed

    This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 62d33b7908341354See the full diff
    • added required request body

      request-body-added-required

    • the id response's property type/format changed from integer/ to string/uuid for status 202

      response-property-type-changed

    • removed the required property created_at from the response with the 202 status

      response-required-property-removed

    • removed the required property git_hash from the response with the 202 status

      response-required-property-removed

    • removed the required property import_error from the response with the 202 status

      response-required-property-removed

    • removed the required property import_state from the response with the 202 status

      response-required-property-removed

    • removed the required property modified_at from the response with the 202 status

      response-required-property-removed

    • removed the required property name from the response with the 202 status

      response-required-property-removed

    • removed the required property organization_id from the response with the 202 status

      response-required-property-removed

    • removed the required property proxy from the response with the 202 status

      response-required-property-removed

    • removed the required property scm_type from the response with the 202 status

      response-required-property-removed

    • removed the required property signature_validation_credential_id from the response with the 202 status

      response-required-property-removed

    • removed the required property url from the response with the 202 status

      response-required-property-removed

    • removed the optional property description from the response with the 202 status

      response-optional-property-removed

    • removed the optional property eda_credential_id from the response with the 202 status

      response-optional-property-removed

    • removed the optional property scm_branch from the response with the 202 status

      response-optional-property-removed

    • removed the optional property scm_refspec from the response with the 202 status

      response-optional-property-removed

    • removed the optional property verify_ssl from the response with the 202 status

      response-optional-property-removed

    • the endpoint scheme security EDAJWTAuthentication was removed from the API

      api-security-removed

    • the endpoint scheme security jwtAuth was removed from the API

      api-security-removed

    • added the required property href to the response with the 202 status

      response-required-property-added

    • the response required property id became not read-only for the status 202

      response-required-property-became-not-read-only

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog