To create a Release Bundle with selected files based on a property, you need to construct a JSON request body. Here's an example of the JSON structure:
{ "name": "my-release-bundle", "version": "1.0", "sign_immediately": true, "release_notes": { "syntax": "plain_text", "content": "Version 1.0 to create a bundle using the REST API command" }, "spec": { "queries": [ { "aql": "items.find({ \"repo\" : \"example-repo-local\"}, {\"@key\": \"value\"})", "query_name": "query-1", "mappings": [ { "input": "regex", "output": "$1/$2" } ] } ] } }