CyberRXN Docs
APIAPI reference

Read one contribution and its validation/reward state

GET /v1/contributions/{contribution_id}

GET /v1/contributions/{contribution_id}

API overview · OpenAPI

Workspace-scoped; designated staff may use reviewer=true to inspect original submission evidence and append-only review events. Pending submissions remain private to their workspace and staff.

Authorization

This operation requires a bearer credential. The description defines additional role, scope or first-party-session restrictions; an API key does not grant those permissions by itself.

Parameters

PropertyTypeRequiredDetails
contribution_id (path)stringyes
reviewer (query)booleanno

Request body

No request body.

Responses

HTTPDetailsType
200Successful Responseapplication/json: ReactionContribution
401Unauthorizedapplication/problem+json: ProblemDetails
403Forbiddenapplication/problem+json: ProblemDetails
404Not Foundapplication/problem+json: ProblemDetails
409Conflictapplication/problem+json: ProblemDetails
413Request Entity Too Largeapplication/problem+json: ProblemDetails
422Unprocessable Entityapplication/problem+json: ProblemDetails
429Too Many Requestsapplication/problem+json: ProblemDetails
502Bad Gatewayapplication/problem+json: ProblemDetails
503Service Unavailableapplication/problem+json: ProblemDetails

Response: ReactionContribution

PropertyTypeRequiredDetails
idstringyes
observation_idstringyes
reaction_smilesstringyes
canonical_reaction_smilesstring ∣ nullyes
sourceContributionSourceyes
conditionsContributionConditions ∣ nullno
summarystring ∣ nullno
state"pending" ∣ "needs_review" ∣ "accepted" ∣ "rejected" ∣ "duplicate"yes
created_atstringyes
updated_atstringyes
validationContributionValidationyes
rewardsContributionRewardsyes
reviewReviewedDecision ∣ nullno
duplicate_ofstring ∣ nullno
Full schema
{
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "observation_id": {
      "type": "string",
      "title": "Observation Id"
    },
    "reaction_smiles": {
      "type": "string",
      "title": "Reaction Smiles"
    },
    "canonical_reaction_smiles": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Canonical Reaction Smiles"
    },
    "source": {
      "$ref": "#/components/schemas/ContributionSource"
    },
    "conditions": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ContributionConditions"
        },
        {
          "type": "null"
        }
      ]
    },
    "summary": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Summary"
    },
    "state": {
      "type": "string",
      "enum": [
        "pending",
        "needs_review",
        "accepted",
        "rejected",
        "duplicate"
      ],
      "title": "State"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At"
    },
    "validation": {
      "$ref": "#/components/schemas/ContributionValidation"
    },
    "rewards": {
      "$ref": "#/components/schemas/ContributionRewards"
    },
    "review": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/ReviewedDecision"
        },
        {
          "type": "null"
        }
      ]
    },
    "duplicate_of": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duplicate Of"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "id",
    "observation_id",
    "reaction_smiles",
    "canonical_reaction_smiles",
    "source",
    "state",
    "created_at",
    "updated_at",
    "validation",
    "rewards"
  ],
  "title": "ReactionContribution"
}

This page is generated from OpenAPI; examples are schemas, not a fabricated successful response.

Usage and billing · Structured errors

On this page