us.off-the-clock.admin.evaluateFeed

off-the-clock.us

Documentation

Dry-runs a feed configuration over the newest candidates in a pair's content space, without publishing it. The AppView asks the feed generator under its own service auth. Effective admins, the community identity and the pair's own admins.

main procedure

Dry-runs a feed configuration over the newest candidates in a pair's content space, without publishing it. The AppView asks the feed generator under its own service auth. Effective admins, the community identity and the pair's own admins.

Input

Encodingapplication/json
configuration unknown Required

A JSON Logic expression, an object.

limit integer Optional

No description available.

minimum: 1maximum: 200
spaces array Required

No description available.

Output

Encodingapplication/json
failures integer Required

Candidates whose evaluation failed.

firstError string Optional

No description available.

records array Required

No description available.

Errors

NotAdmin
InvalidConfiguration
FeedUnavailable
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Dry-runs a feed configuration over the newest candidates in a pair's content space, without publishing it. The AppView asks the feed generator under its own service auth. Effective admins, the community identity and the pair's own admins.",
  "errors": [
    {
      "name": "NotAdmin"
    },
    {
      "name": "InvalidConfiguration"
    },
    {
      "name": "FeedUnavailable"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "configuration": {
          "description": "A JSON Logic expression, an object.",
          "type": "unknown"
        },
        "limit": {
          "default": 200,
          "maximum": 200,
          "minimum": 1,
          "type": "integer"
        },
        "spaces": {
          "items": {
            "description": "<space-type>/<space-id>: a pair's content space",
            "maxLength": 512,
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "spaces",
        "configuration"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "failures": {
          "description": "Candidates whose evaluation failed.",
          "type": "integer"
        },
        "firstError": {
          "type": "string"
        },
        "records": {
          "items": {
            "ref": "us.off-the-clock.admin.defs#record",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "records",
        "failures"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@