pub.chive.discovery.recordInteraction

Record a user interaction with a recommendation for the feedback loop. Used to improve personalization over time.

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · procedure
Kindprocedure
Authoritydiscovery.chive.pub
Indexed

Showing version bafyreigpbpjqdimm56qkaao2u4zvr3mx4a23vstwygrvljgzmk26zbudcu. Show the latest

cid bafyreigpbpjqdimm56qkaao2u4zvr3mx4a23vstwygrvljgzmk26zbudcu

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.recommendationIdNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.typeNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record a user interaction with a recommendation for the feedback loop. Used to improve personalization over time.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "eprintUri": {
              "description": "AT-URI of the eprint",
              "format": "at-uri",
              "type": "string"
            },
            "recommendationId": {
              "description": "ID of the recommendation that led to this interaction",
              "type": "string"
            },
            "type": {
              "description": "Type of interaction: view (viewed detail page), click (clicked recommendation), endorse (endorsed paper), dismiss (dismissed recommendation), claim (claimed authorship)",
              "knownValues": [
                "view",
                "click",
                "endorse",
                "dismiss",
                "claim"
              ],
              "type": "string"
            }
          },
          "required": [
            "eprintUri",
            "type"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "recorded": {
              "description": "Whether the interaction was successfully recorded",
              "type": "boolean"
            }
          },
          "required": [
            "recorded"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "pub.chive.discovery.recordInteraction",
  "lexicon": 1,
  "revision": 1
}