Web3 Social Activity

Web3 Social Activity · GPT-Aktionen

Web3 User Activity

A plugin to get any Web3 user's activity.

  • GET /activitiesGet the recent social activities by address

    Get the recent social activities by address

Ursprüngliches API-Schema
{
  "openapi": "3.0.1",
  "info": {
    "title": "Web3 User Activity",
    "description": "A plugin to get any Web3 user's activity.",
    "version": "v1.1.0"
  },
  "servers": [
    {
      "url": "https://chatgpt-plugin.rss3.ai"
    }
  ],
  "paths": {
    "/activities": {
      "get": {
        "operationId": "getActivities",
        "summary": "Get the recent social activities by address",
        "description": "Get the recent social activities by address",
        "parameters": [
          {
            "in": "query",
            "name": "address",
            "description": "The address to query",
            "schema": {
              "type": "string"
            },
            "required": true,
            "examples": {
              "ens": {
                "description": "ENS address",
                "value": "vitalik.eth"
              },
              "0x": {
                "description": "0x prefixed address",
                "value": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Activity"
                  },
                  "type": "array"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Activity": {
        "description": "a single activity",
        "type": "object",
        "properties": {
          "summary": {
            "type": "string",
            "description": "The summary of the activity"
          },
          "network": {
            "type": "string",
            "title": "NetworkName",
            "description": "The network name of the activity"
          },
          "platform": {
            "type": "string",
            "title": "PlatformName"
          }
        },
        "required": [
          "summary",
          "type",
          "transactionId"
        ]
      }
    }
  }
}