Gamma API
ProjectsIntegrations

Defer a conflict

POST
/api/projects/{projectId}/integrations/conflicts/{conflictId}/defer

Sets it aside: still listed, still refreshed by the syncs, decided later. Nothing is written. 409 when it is closed.

Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

conflictId*string

Response Body

OK.

application/json
  1. response
conflict*

A record left to a person: changed on both sides differently, or a create cut off before its link was written. Once resolved, it stays as the record of that decision.

Example Request
curl -X POST 'http://localhost:3000/api/projects/string/integrations/conflicts/string/defer'
Example Response
{  "conflict": {    "id": "string",    "integrationId": "string",    "recordId": "string",    "entity": "issues",    "kind": "changed",    "creating": "local",    "localId": "string",    "externalId": "string",    "baseline": {      "property1": null,      "property2": null    },    "local": {      "version": "string",      "value": {        "property1": null,        "property2": null      }    },    "external": {      "version": "string",      "value": {        "property1": null,        "property2": null      }    },    "fields": [      "string"    ],    "status": "pending",    "decision": "local",    "choices": {      "property1": "string",      "property2": "string"    },    "decidedById": "string",    "decidedAt": "2019-08-24T14:15:22Z",    "jobId": "string",    "resolutionJobId": "string",    "resolvedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}