{
  "openapi": "3.0.1",
  "info": {
    "title": "Actor",
    "description": ""
  },
  "paths": {
    "/v1/actions/{id}": {
      "get": {
        "description": "",
        "operationId": "Get_Actor",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "allowEmptyValue": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "api_key",
            "in": "query",
            "required": false,
            "allowEmptyValue": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "2XX": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "action": {
                      "type": "object",
                      "properties": {
                        "total_donations": {
                          "type": "integer",
                          "format": "int64"
                        },
                        "end_date": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "target_amount": {
                          "type": "integer",
                          "format": "int64"
                        },
                        "created_at": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "description": {
                          "type": "string"
                        },
                        "team_id": {
                          "type": "integer",
                          "format": "int64"
                        },
                        "title": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "who_type": {
                          "type": "string"
                        },
                        "donate_url": {
                          "type": "string"
                        },
                        "id": {
                          "type": "integer",
                          "format": "int64"
                        },
                        "first_name": {
                          "type": "string"
                        },
                        "slug": {
                          "type": "string"
                        },
                        "owner": {
                          "type": "object",
                          "properties": {
                            "last_name": {
                              "type": "string"
                            },
                            "id": {
                              "type": "integer",
                              "format": "int64"
                            },
                            "first_name": {
                              "type": "string"
                            },
                            "email": {
                              "type": "string"
                            }
                          }
                        },
                        "visible": {
                          "type": "boolean"
                        },
                        "fundraiser_page": {
                          "type": "boolean"
                        },
                        "last_name": {
                          "type": "string"
                        },
                        "consent": {
                          "type": "object",
                          "properties": {
                            "text": {
                              "type": "string"
                            },
                            "version": {
                              "type": "string"
                            },
                            "url": {
                              "type": "string"
                            }
                          }
                        },
                        "team_captain": {
                          "type": "boolean"
                        },
                        "target_amount_achieved": {
                          "type": "boolean"
                        },
                        "url": {
                          "type": "string"
                        },
                        "total_amount": {
                          "type": "string"
                        },
                        "site_id": {
                          "type": "integer",
                          "format": "int64"
                        },
                        "ended": {
                          "type": "boolean"
                        },
                        "consents": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "granted_at": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "consent_text": {
                                "type": "string"
                              },
                              "consent_status": {
                                "type": "string"
                              },
                              "privacy_version": {
                                "type": "string"
                              },
                              "terms_conditions_version": {
                                "type": "string"
                              },
                              "url": {
                                "type": "string"
                              },
                              "consent_type": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "closed": {
                          "type": "boolean"
                        },
                        "countable": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}