Create Release Group Releases

posthttps://app.fossa.com/api/project_group/{groupId}/release

Creates a new release for a given release group

Path parameters

groupIdintegerrequired

The ID of the release group

Request body (required) · application/json

titlestring
projectsobject[]
projectIdstring
branchstring
revisionIdstring

Responses

200The created release, including its projects
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
messagestring

Message describing the error

404Not found
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/project_group/1/release
curl --request POST \  --url 'https://app.fossa.com/api/project_group/1/release' \  --header 'accept: application/json' \  --header 'authorization: Bearer YOUR_API_TOKEN' \  --header 'content-type: application/json' \  --data '{  "title": "1.2.3",  "projects": [    {      "projectId": "git+github.com/myorg/myrepo",      "branch": "main",      "revisionId": "a0b1c3"    },    {      "projectId": "git+github.com/myorg/other-repo",      "branch": "develop",      "revisionId": "rev0003"    },    {      "projectId": "sbom+1/my-sbom-upload-project",      "branch": "main",      "revisionId": "rev123"    }  ]}'

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

groupIdintegerrequired

The ID of the release group

application/json