Create Issue Dispute

posthttps://app.fossa.com/api/v2/issues/{issueId}/disputes

Creates an issue dispute. Supports licensing and quality issue disputes. The dispute type is determined by the category of the specified issue.

Path parameters

issueIdintegerrequired

ID of the issue that is being disputed.

Request body (required) · application/json

reasonenumrequired

The reason why this issue is being disputed. License dispute reasons: INCORRECT_DEPENDENCY_VERSION_REPORTED, LICENSE_DETECTION_FALSE_POSITIVE, MULTI_OR_DUAL_LICENSED, INCORRECT_LICENSE_CONCLUSION. Quality dispute reasons: INCORRECT_STALENESS_REPORTED, INCORRECTLY_FLAGGED_ABANDONWARE, INCORRECTLY_FLAGGED_EMPTY.

INCORRECT_DEPENDENCY_VERSION_REPORTEDLICENSE_DETECTION_FALSE_POSITIVEMULTI_OR_DUAL_LICENSEDINCORRECT_LICENSE_CONCLUSIONINCORRECT_STALENESS_REPORTEDINCORRECTLY_FLAGGED_ABANDONWAREINCORRECTLY_FLAGGED_EMPTY
commentstring

Any additional information that is important for this dispute.

Responses

200The created dispute.
object
400Bad Request
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

403Forbidden
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

500Server Error
uuidstring

Unique identifier associated with the error

codeinteger

fossa specific error code

messagestring

message associated with this error

namestring

name of the error

httpStatusCodeinteger

http status code number

Try this endpoint

Build a request and run it against app.fossa.com.

Bearer

Stored in this browser for 24 hours. Try It uses a docs proxy for CORS and does not store tokens server-side.

POST https://app.fossa.com/api/v2/issues/1/disputes
curl --request POST \  --url 'https://app.fossa.com/api/v2/issues/1/disputes' \  --header 'accept: application/json' \  --header 'authorization: Bearer YOUR_API_TOKEN' \  --header 'content-type: application/json' \  --data '{  "reason": "INCORRECT_DEPENDENCY_VERSION_REPORTED"}'

Real request. Mutating methods can change data.

Click Try It to run a request and see the response here.
Enter a Bearer token before running this request.

Path params

issueIdintegerrequired

ID of the issue that is being disputed.

application/json