Skip to main content
POST
/
catchAll
/
projects
/
{project_id}
/
resources
Add resources to project
curl --request POST \
  --url https://catchall.newscatcherapi.com/catchAll/projects/{project_id}/resources \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "resources": [
    {
      "resource_type": "job",
      "resource_id": "48421e16-1f50-4048-b62c-d3bc0789d30d"
    }
  ]
}
'
{
  "success": true,
  "message": "Resources added to project.",
  "results": [
    {
      "resource_type": "job",
      "resource_id": "48421e16-1f50-4048-b62c-d3bc0789d30d",
      "success": true,
      "message": "Resource added to project.",
      "already_exists": false
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://newscatcherinc-docs.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

API key for authentication.

Path Parameters

project_id
string<uuid>
required

Unique project identifier.

Body

application/json
resources
object[]
required

Resources to assign to the project.

Minimum array length: 1

Response

One or more resources added to the project (201), or all were already present (200).

success
boolean
required

True if the overall operation succeeded.

Example:

true

message
string
required

Top-level result message.

Example:

"Resources added to project."

results
object[]
required

Per-resource outcome, one entry per submitted resource.