OpenSocialDocumentation

publications_list

List and filter publication records.

REST · POST /api/v1/operations/publications_list · MCP · publications_list

Required scope · read. This operation reads data.

Example request body

{}

REST returns the output below directly. In MCP read structuredContent.result. Check the current installation at /api/v1/openapi.json.

For 401 check credential validity. For 403 inspect the role, scopes and selected accounts. For 409 reread the record before retrying.

JSON Schema · Input

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "accountId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "status": {
      "type": "string",
      "maxLength": 40
    },
    "timeBasis": {
      "type": "string",
      "enum": [
        "effective",
        "original"
      ]
    },
    "from": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "to": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "limit": {
      "default": 100,
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "offset": {
      "default": 0,
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "additionalProperties": false
}

JSON Schema · Output

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "version": {
        "type": "number"
      },
      "account_id": {
        "type": "string"
      },
      "group_id": {
        "type": "string"
      },
      "diagnosis": {
        "type": "object",
        "properties": {
          "firstRequestAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastCheckedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "reviewUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "stage": {
            "type": [
              "string",
              "null"
            ]
          },
          "cause": {
            "type": [
              "string",
              "null"
            ]
          },
          "attemptId": {
            "type": [
              "string",
              "null"
            ]
          },
          "originalDueAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "effectiveDueAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "delaySeconds": {
            "type": [
              "number",
              "null"
            ]
          },
          "nextAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "canRetry": {
            "type": "boolean"
          },
          "canRevise": {
            "type": "boolean"
          },
          "canReconcile": {
            "type": "boolean"
          },
          "canResume": {
            "type": "boolean"
          },
          "needsReview": {
            "type": "boolean"
          },
          "action": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "firstRequestAt",
          "lastCheckedAt",
          "reviewUrl",
          "stage",
          "cause",
          "attemptId",
          "originalDueAt",
          "effectiveDueAt",
          "delaySeconds",
          "nextAt",
          "canRetry",
          "canRevise",
          "canReconcile",
          "canResume",
          "needsReview",
          "action"
        ],
        "additionalProperties": {}
      },
      "platform": {
        "type": "string"
      },
      "account_name": {
        "type": "string"
      },
      "account_handle": {
        "type": [
          "string",
          "null"
        ]
      },
      "media_name": {
        "type": "string"
      },
      "payload": {
        "type": "object",
        "properties": {
          "caption": {
            "type": "string"
          }
        },
        "required": [
          "caption"
        ],
        "additionalProperties": {}
      },
      "due_at": {
        "type": [
          "string",
          "null"
        ]
      },
      "remote_id": {
        "type": [
          "string",
          "null"
        ]
      },
      "confirmed_at": {
        "type": [
          "string",
          "null"
        ]
      },
      "error_code": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "id",
      "status",
      "version",
      "account_id",
      "group_id",
      "diagnosis",
      "platform",
      "account_name",
      "account_handle",
      "media_name",
      "payload",
      "due_at",
      "remote_id",
      "confirmed_at",
      "error_code"
    ],
    "additionalProperties": {}
  }
}