{
  "openapi": "3.1.0",
  "info": {
    "title": "Swoop Ads API",
    "version": "1.0.0",
    "summary": "Offers, ad spots, campaigns and earnings.",
    "description": "JSON over HTTPS for Swoop Ads: open reads (prices, spots, network totals) and the routes a signed-in creator or sponsor uses. Runs on testnet today: test funds with no real value.\n\n**Sign-in.** Routes marked as signed-in take a Gully ID token as `Authorization: Bearer`. Get one with Sign in with Gully ID. There is no separate Swoop key, except the read-only report keys a sponsor can create for exports.\n\n**Money is in USD** unless a field says otherwise. The creator share is shown up front on each spot.\n\n**Features that are not switched on yet** are marked so: their routes answer 404 until they are. `GET /v1/config` says what is on.\n\n**Limits.** Calls are limited per visitor and per account. Over the limit the answer is HTTP 429; slow down and retry. No rate-limit headers are sent yet.\n\n**Errors.** `{ \"error\": \"<plain words>\", \"code\": \"<stable code>\" }`. 400 `invalid` (with `issues` listing the fields), 401 `unauthenticated`, 404, 429, 500 `internal`.\n\n**Callbacks.** Reward callbacks to your server are signed (HMAC) and retried; the event id is the same on every retry, so process each once. Set them up under Pay per action.",
    "x-generated-by": "api/scripts/gen-openapi.mjs"
  },
  "servers": [
    {
      "url": "https://offers.kre8.fun",
      "description": "Swoop Ads API (testnet)"
    }
  ],
  "tags": [
    {
      "name": "Pay per action",
      "description": "Sponsors pay only when a creator's audience completes a step. Not switched on yet."
    },
    {
      "name": "Boosts",
      "description": "Paid boosts. Not switched on yet."
    },
    {
      "name": "Ad campaigns",
      "description": "Sponsor campaigns and creator ad settings. Not switched on yet."
    },
    {
      "name": "Ad spots",
      "description": "What can be bought and what it costs. No sign-in."
    },
    {
      "name": "Earnings",
      "description": "What the signed-in person earned. USD."
    },
    {
      "name": "Offers",
      "description": "Offer campaigns: advertisers fund a reward, people complete a task, publishers show the offers."
    },
    {
      "name": "Public",
      "description": "Open reads. No sign-in."
    },
    {
      "name": "Coins",
      "description": "Coin listings. Crypto assets are risky. A listing says only that the coin passed Swoop checks at that time. Not switched on yet."
    },
    {
      "name": "Creator offers",
      "description": "Offers a creator funds in their own coin."
    },
    {
      "name": "Marketing",
      "description": "Link tags, reports and exports for sponsors."
    },
    {
      "name": "Network",
      "description": "Creator directory and briefs. Not switched on yet."
    },
    {
      "name": "Placements",
      "description": "A placement is one site, game or app that shows offers or units."
    },
    {
      "name": "Invites",
      "description": "Invite codes. Invite credits are bookkeeping only for now: nothing is paid."
    },
    {
      "name": "Checked metrics",
      "description": "Hourly per-creator counts posted on Gully Chain Testnet. Not switched on yet."
    },
    {
      "name": "Token promo",
      "description": "Promote a token you created. Crypto assets are risky. Not switched on yet."
    }
  ],
  "paths": {
    "/v1/actions/creator/earnings": {
      "get": {
        "operationId": "getActionEarnings",
        "tags": [
          "Pay per action"
        ],
        "summary": "What your audience earned you, with holds",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "placement",
            "in": "query",
            "required": false,
            "description": "Placement id.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/me/progress": {
      "get": {
        "operationId": "getMyActionProgress",
        "tags": [
          "Pay per action"
        ],
        "summary": "Your progress on offers you joined",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/offers": {
      "get": {
        "operationId": "listActionOffers",
        "tags": [
          "Pay per action"
        ],
        "summary": "Open pay-per-action offers",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/offers/{id}/join": {
      "post": {
        "operationId": "joinActionOffer",
        "tags": [
          "Pay per action"
        ],
        "summary": "Join an offer",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/placements/{id}/deliveries": {
      "get": {
        "operationId": "listPostbackDeliveries",
        "tags": [
          "Pay per action"
        ],
        "summary": "Delivery log of your reward callbacks",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many rows.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by state.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/placements/{id}/deliveries/{eid}/retry": {
      "post": {
        "operationId": "retryPostbackDelivery",
        "tags": [
          "Pay per action"
        ],
        "summary": "Send one callback again",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          },
          {
            "name": "eid",
            "in": "path",
            "required": true,
            "description": "Delivery id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/placements/{id}/postback": {
      "post": {
        "operationId": "setPostbackUrl",
        "tags": [
          "Pay per action"
        ],
        "summary": "Set the reward callback address of a placement",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/placements/{id}/test-event": {
      "post": {
        "operationId": "sendTestPostback",
        "tags": [
          "Pay per action"
        ],
        "summary": "Send a test callback",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/quote": {
      "get": {
        "operationId": "getActionQuote",
        "tags": [
          "Pay per action"
        ],
        "summary": "Cost of an offer for the chosen step prices",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [
          {
            "name": "prices",
            "in": "query",
            "required": false,
            "description": "Step prices.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/sponsor/offers": {
      "get": {
        "operationId": "listSponsorOffers",
        "tags": [
          "Pay per action"
        ],
        "summary": "Offers you fund",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "post": {
        "operationId": "createSponsorOffer",
        "tags": [
          "Pay per action"
        ],
        "summary": "Create an offer that pays per completed step",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/sponsor/offers/{id}": {
      "get": {
        "operationId": "getSponsorOffer",
        "tags": [
          "Pay per action"
        ],
        "summary": "One offer you fund",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/sponsor/offers/{id}/checkout": {
      "post": {
        "operationId": "checkoutSponsorOffer",
        "tags": [
          "Pay per action"
        ],
        "summary": "Get the Gully Pay checkout link that funds an offer",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/sponsor/offers/{id}/end": {
      "post": {
        "operationId": "endSponsorOffer",
        "tags": [
          "Pay per action"
        ],
        "summary": "End an offer and refund what is unspent",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/sponsor/offers/{id}/pause": {
      "post": {
        "operationId": "pauseSponsorOffer",
        "tags": [
          "Pay per action"
        ],
        "summary": "Pause an offer",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/actions/sponsor/offers/{id}/resume": {
      "post": {
        "operationId": "resumeSponsorOffer",
        "tags": [
          "Pay per action"
        ],
        "summary": "Resume an offer",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/boosts": {
      "get": {
        "operationId": "listBoosts",
        "tags": [
          "Boosts"
        ],
        "summary": "Your boosts",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "post": {
        "operationId": "createBoost",
        "tags": [
          "Boosts"
        ],
        "summary": "Buy a boost",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/boosts/{id}/cancel": {
      "post": {
        "operationId": "cancelBoost",
        "tags": [
          "Boosts"
        ],
        "summary": "Cancel a boost",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/boosts/packages": {
      "get": {
        "operationId": "listBoostPackages",
        "tags": [
          "Boosts"
        ],
        "summary": "Boost packages and prices",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/campaigns": {
      "get": {
        "operationId": "listAdCampaigns",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Your ad campaigns",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "post": {
        "operationId": "createAdCampaign",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Create an ad campaign (reviewed before it runs)",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/campaigns/{id}": {
      "get": {
        "operationId": "getAdCampaign",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "One ad campaign",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/campaigns/{id}/cancel": {
      "post": {
        "operationId": "cancelAdCampaign",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Cancel an ad campaign and refund what is unspent",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/campaigns/{id}/checkout": {
      "post": {
        "operationId": "checkoutAdCampaign",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Get the Gully Pay checkout link that funds a campaign",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/campaigns/{id}/daily": {
      "get": {
        "operationId": "getAdCampaignDaily",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Daily results of a campaign",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "How many days.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/campaigns/{id}/pause": {
      "post": {
        "operationId": "pauseAdCampaign",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Pause or resume a campaign",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/creative": {
      "post": {
        "operationId": "draftAdCreative",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Draft ad text and banners (a draft, you choose)",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/creative/status": {
      "get": {
        "operationId": "getCreativeStatus",
        "tags": [
          "Ad spots"
        ],
        "summary": "Whether the creative helper is on",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/creator": {
      "get": {
        "operationId": "getCreatorAdSettings",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Your creator ad settings",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "post": {
        "operationId": "setCreatorAdSettings",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Switch ads on your page on or off and set your rules",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/creator/earnings": {
      "get": {
        "operationId": "getCreatorAdEarnings",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "What ads on your page earned per day, in USD",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "How many days.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/creator/quality": {
      "get": {
        "operationId": "getTrafficQuality",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Traffic quality of your page",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/creator/quality/appeal": {
      "post": {
        "operationId": "appealTrafficQuality",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Ask for a review of a traffic quality hold",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/demand": {
      "get": {
        "operationId": "getAdDemand",
        "tags": [
          "Ad spots"
        ],
        "summary": "Current demand per spot",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/promos/stats": {
      "get": {
        "operationId": "getPromoStats",
        "tags": [
          "Earnings"
        ],
        "summary": "Results of promotions per day",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "How many days.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/quote": {
      "get": {
        "operationId": "getAdQuote",
        "tags": [
          "Ad spots"
        ],
        "summary": "Cost of a campaign for the chosen spots and budget",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/slots": {
      "get": {
        "operationId": "listAdSlots",
        "tags": [
          "Ad spots"
        ],
        "summary": "Ad spots, sizes and floor prices",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/ads/summary": {
      "get": {
        "operationId": "getAdSummary",
        "tags": [
          "Ad campaigns"
        ],
        "summary": "Spend and results across your campaigns",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "How many days.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/campaigns": {
      "get": {
        "operationId": "listOfferCampaigns",
        "tags": [
          "Offers"
        ],
        "summary": "Your offer campaigns",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "post": {
        "operationId": "createOfferCampaign",
        "tags": [
          "Offers"
        ],
        "summary": "Create an offer campaign",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/campaigns/{id}": {
      "get": {
        "operationId": "getOfferCampaign",
        "tags": [
          "Offers"
        ],
        "summary": "One offer campaign",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/campaigns/{id}/cancel": {
      "post": {
        "operationId": "cancelOfferCampaign",
        "tags": [
          "Offers"
        ],
        "summary": "Cancel an offer campaign and refund what is unspent",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/campaigns/{id}/checkout": {
      "post": {
        "operationId": "checkoutOfferCampaign",
        "tags": [
          "Offers"
        ],
        "summary": "Get the Gully Pay checkout link that funds a campaign",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/campaigns/{id}/metrics": {
      "get": {
        "operationId": "getOfferCampaignMetrics",
        "tags": [
          "Offers"
        ],
        "summary": "Hourly results of a campaign",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          },
          {
            "name": "hours",
            "in": "query",
            "required": false,
            "description": "How many hours.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/campaigns/{id}/postback-secret": {
      "post": {
        "operationId": "rotatePostbackSecret",
        "tags": [
          "Offers"
        ],
        "summary": "Make a new postback signing secret (shown once)",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/channels": {
      "get": {
        "operationId": "listChannels",
        "tags": [
          "Public"
        ],
        "summary": "Channels Swoop can check or share to",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/coins": {
      "get": {
        "operationId": "listCoins",
        "tags": [
          "Coins"
        ],
        "summary": "Listed coins",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [
          {
            "name": "chain",
            "in": "query",
            "required": false,
            "description": "Chain.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "launchpad",
            "in": "query",
            "required": false,
            "description": "Launchpad.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many rows.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Rows to skip.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Sort order.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/coins/{chain}/{address}": {
      "get": {
        "operationId": "getCoin",
        "tags": [
          "Coins"
        ],
        "summary": "One coin with its checks summary",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [
          {
            "name": "chain",
            "in": "path",
            "required": true,
            "description": "Chain id or key.",
            "schema": {
              "type": "string"
            },
            "example": "485590"
          },
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "Token address.",
            "schema": {
              "type": "string"
            },
            "example": "0x2222222222222222222222222222222222222222"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/coins/facets": {
      "get": {
        "operationId": "getCoinFacets",
        "tags": [
          "Coins"
        ],
        "summary": "Chains and launchpads to filter by",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/coins/new": {
      "get": {
        "operationId": "listNewCoins",
        "tags": [
          "Coins"
        ],
        "summary": "Newest listings",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many rows.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/coins/top": {
      "get": {
        "operationId": "listTopCoins",
        "tags": [
          "Coins"
        ],
        "summary": "Top coins by votes or volume",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [
          {
            "name": "by",
            "in": "query",
            "required": false,
            "description": "Rank by.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many rows.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/config": {
      "get": {
        "operationId": "getConfig",
        "tags": [
          "Public"
        ],
        "summary": "What is switched on",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/copilot/status": {
      "get": {
        "operationId": "getCopilotStatus",
        "tags": [
          "Public"
        ],
        "summary": "Whether the assistant is on",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/creator-offers": {
      "get": {
        "operationId": "listCreatorOffers",
        "tags": [
          "Creator offers"
        ],
        "summary": "Offers creators fund in their own coin",
        "description": "No sign-in.",
        "security": [],
        "parameters": [
          {
            "name": "creator",
            "in": "query",
            "required": false,
            "description": "Creator address.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "description": "Filter by state.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "post": {
        "operationId": "createCreatorOffer",
        "tags": [
          "Creator offers"
        ],
        "summary": "Create an offer paid in a coin",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/creator-offers/{id}": {
      "get": {
        "operationId": "getCreatorOffer",
        "tags": [
          "Creator offers"
        ],
        "summary": "One creator offer",
        "description": "No sign-in.",
        "security": [],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/creator-offers/{id}/cancel": {
      "post": {
        "operationId": "cancelCreatorOffer",
        "tags": [
          "Creator offers"
        ],
        "summary": "Cancel a creator offer",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/creator-offers/{id}/complete": {
      "post": {
        "operationId": "completeCreatorOffer",
        "tags": [
          "Creator offers"
        ],
        "summary": "Report that you completed an offer",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/creator-offers/{id}/fund": {
      "post": {
        "operationId": "fundCreatorOffer",
        "tags": [
          "Creator offers"
        ],
        "summary": "Report the transfer that funds an offer",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/creator-offers/{id}/review/{completionId}": {
      "post": {
        "operationId": "reviewCreatorOfferCompletion",
        "tags": [
          "Creator offers"
        ],
        "summary": "Approve or decline a completion",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          },
          {
            "name": "completionId",
            "in": "path",
            "required": true,
            "description": "Completion id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/creator-offers/coin": {
      "get": {
        "operationId": "getOfferCoin",
        "tags": [
          "Creator offers"
        ],
        "summary": "Name, symbol and decimals of a coin, read from chain",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "address",
            "in": "query",
            "required": false,
            "description": "Token address.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/creator-offers/coins": {
      "get": {
        "operationId": "listOfferCoins",
        "tags": [
          "Creator offers"
        ],
        "summary": "Coins you can pay with",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/creator-offers/escrow": {
      "get": {
        "operationId": "getOfferHoldingAddress",
        "tags": [
          "Creator offers"
        ],
        "summary": "The holding address that funds offers",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/creator-offers/mine": {
      "get": {
        "operationId": "listMyCreatorOffers",
        "tags": [
          "Creator offers"
        ],
        "summary": "Creator offers you made",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/marketing/campaigns/{id}/report": {
      "get": {
        "operationId": "getCampaignReport",
        "tags": [
          "Marketing"
        ],
        "summary": "Campaign report per day",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "How many days.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/marketing/campaigns/{id}/utm": {
      "get": {
        "operationId": "getCampaignUtm",
        "tags": [
          "Marketing"
        ],
        "summary": "Link tags of a campaign",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "put": {
        "operationId": "setCampaignUtm",
        "tags": [
          "Marketing"
        ],
        "summary": "Set link tags of a campaign",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/marketing/config": {
      "get": {
        "operationId": "getMarketingConfig",
        "tags": [
          "Marketing"
        ],
        "summary": "Whether marketing tools are on",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/marketing/digests": {
      "get": {
        "operationId": "listDigests",
        "tags": [
          "Marketing"
        ],
        "summary": "Your weekly report drafts",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/marketing/digests/draft": {
      "post": {
        "operationId": "draftDigest",
        "tags": [
          "Marketing"
        ],
        "summary": "Draft this week's report",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/marketing/export": {
      "get": {
        "operationId": "exportReport",
        "tags": [
          "Marketing"
        ],
        "summary": "Export a report as CSV or JSON",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "campaign",
            "in": "query",
            "required": false,
            "description": "Campaign id.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "How many days.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "format",
            "in": "query",
            "required": false,
            "description": "csv or json.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/marketing/keys": {
      "get": {
        "operationId": "listReportKeys",
        "tags": [
          "Marketing"
        ],
        "summary": "Your read-only report keys",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "post": {
        "operationId": "createReportKey",
        "tags": [
          "Marketing"
        ],
        "summary": "Create a read-only report key (shown once)",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/marketing/keys/{id}": {
      "delete": {
        "operationId": "deleteReportKey",
        "tags": [
          "Marketing"
        ],
        "summary": "Delete a report key",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/marketing/utm/preview": {
      "get": {
        "operationId": "previewUtm",
        "tags": [
          "Marketing"
        ],
        "summary": "Preview a tagged link",
        "description": "No sign-in.",
        "security": [],
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": false,
            "description": "The link to tag.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/me/completions": {
      "get": {
        "operationId": "listMyCompletions",
        "tags": [
          "Earnings"
        ],
        "summary": "Offers you completed",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/me/earnings": {
      "get": {
        "operationId": "getMyEarnings",
        "tags": [
          "Earnings"
        ],
        "summary": "What you earned, in USD, for a range",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "range",
            "in": "query",
            "required": false,
            "description": "7d, 30d or all.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/me/payouts": {
      "get": {
        "operationId": "listMyPayouts",
        "tags": [
          "Earnings"
        ],
        "summary": "Your payouts",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "How many days.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/me/points": {
      "get": {
        "operationId": "getMyPoints",
        "tags": [
          "Earnings"
        ],
        "summary": "Your points",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/me/promo-earnings": {
      "get": {
        "operationId": "getMyPromoEarnings",
        "tags": [
          "Earnings"
        ],
        "summary": "What your placements earned from promotions",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "How many days.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/me/trust": {
      "get": {
        "operationId": "getMyTrust",
        "tags": [
          "Earnings"
        ],
        "summary": "Your trust level and what it unlocks",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/briefs": {
      "get": {
        "operationId": "listNetworkBriefs",
        "tags": [
          "Network"
        ],
        "summary": "Open briefs",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/config": {
      "get": {
        "operationId": "getNetworkConfig",
        "tags": [
          "Network"
        ],
        "summary": "Whether the network is on",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/directory": {
      "get": {
        "operationId": "listNetworkProfiles",
        "tags": [
          "Network"
        ],
        "summary": "Creator directory",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/me": {
      "get": {
        "operationId": "getMyNetworkProfile",
        "tags": [
          "Network"
        ],
        "summary": "Your profile",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "put": {
        "operationId": "saveMyNetworkProfile",
        "tags": [
          "Network"
        ],
        "summary": "Save your profile",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/me/channels": {
      "post": {
        "operationId": "addNetworkChannel",
        "tags": [
          "Network"
        ],
        "summary": "Add a channel to your profile",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/me/channels/{id}": {
      "delete": {
        "operationId": "removeNetworkChannel",
        "tags": [
          "Network"
        ],
        "summary": "Remove a channel",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/me/channels/{id}/proof": {
      "post": {
        "operationId": "startChannelProof",
        "tags": [
          "Network"
        ],
        "summary": "Get a proof code to post on the channel",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/me/channels/{id}/proof/submit": {
      "post": {
        "operationId": "submitChannelProof",
        "tags": [
          "Network"
        ],
        "summary": "Submit the post that carries the proof code",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/pricing": {
      "get": {
        "operationId": "getNetworkPricing",
        "tags": [
          "Network"
        ],
        "summary": "Fees, tiers and timings",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/profiles/{handle}": {
      "get": {
        "operationId": "getNetworkProfile",
        "tags": [
          "Network"
        ],
        "summary": "One creator profile",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [
          {
            "name": "handle",
            "in": "path",
            "required": true,
            "description": "Profile handle.",
            "schema": {
              "type": "string"
            },
            "example": "example"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/network/proof/{code}": {
      "get": {
        "operationId": "getNetworkProof",
        "tags": [
          "Network"
        ],
        "summary": "What a proof code shows",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "required": true,
            "description": "Code.",
            "schema": {
              "type": "string"
            },
            "example": "EXAMPLE"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/offers": {
      "get": {
        "operationId": "listOffers",
        "tags": [
          "Offers"
        ],
        "summary": "Open offers, optionally for one placement",
        "description": "No sign-in.",
        "security": [],
        "parameters": [
          {
            "name": "placement",
            "in": "query",
            "required": false,
            "description": "Placement id.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/placements": {
      "get": {
        "operationId": "listPlacements",
        "tags": [
          "Placements"
        ],
        "summary": "Your placements",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "post": {
        "operationId": "createPlacement",
        "tags": [
          "Placements"
        ],
        "summary": "Create a placement for a site, game or app",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/placements/{id}/metrics": {
      "get": {
        "operationId": "getPlacementMetrics",
        "tags": [
          "Placements"
        ],
        "summary": "Hourly opens and completions of a placement",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          },
          {
            "name": "hours",
            "in": "query",
            "required": false,
            "description": "How many hours.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/placements/{id}/promos": {
      "get": {
        "operationId": "getPlacementPromos",
        "tags": [
          "Placements"
        ],
        "summary": "Promotion settings of a placement",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      },
      "put": {
        "operationId": "setPlacementPromos",
        "tags": [
          "Placements"
        ],
        "summary": "Change promotion settings of a placement",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/placements/{id}/rotate": {
      "post": {
        "operationId": "rotatePlacementSecret",
        "tags": [
          "Placements"
        ],
        "summary": "Make a new reward callback secret (shown once)",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/placements/{id}/verify-origin": {
      "post": {
        "operationId": "verifyPlacementOrigin",
        "tags": [
          "Placements"
        ],
        "summary": "Check that you control the site of a web placement",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/public/pricing": {
      "get": {
        "operationId": "getPublicPricing",
        "tags": [
          "Public"
        ],
        "summary": "Prices and shares, in USD",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/quote": {
      "get": {
        "operationId": "getOfferQuote",
        "tags": [
          "Offers"
        ],
        "summary": "Cost of an offer campaign for a reward and a number of completions",
        "description": "No sign-in.",
        "security": [],
        "parameters": [
          {
            "name": "max",
            "in": "query",
            "required": false,
            "description": "Number of completions.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reward",
            "in": "query",
            "required": false,
            "description": "Reward per completion, in USD.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/referrals/claim": {
      "post": {
        "operationId": "claimInvite",
        "tags": [
          "Invites"
        ],
        "summary": "Record who invited you",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/referrals/code/{code}": {
      "get": {
        "operationId": "getInviteCode",
        "tags": [
          "Invites"
        ],
        "summary": "Who an invite code belongs to",
        "description": "No sign-in.",
        "security": [],
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "required": true,
            "description": "Code.",
            "schema": {
              "type": "string"
            },
            "example": "EXAMPLE"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/referrals/config": {
      "get": {
        "operationId": "getInviteConfig",
        "tags": [
          "Invites"
        ],
        "summary": "Invite rules",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/referrals/leaderboard": {
      "get": {
        "operationId": "getInviteLeaderboard",
        "tags": [
          "Invites"
        ],
        "summary": "Opt-in invite leaderboard",
        "description": "No sign-in.",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/referrals/me": {
      "get": {
        "operationId": "getMyInvites",
        "tags": [
          "Invites"
        ],
        "summary": "Your invite code and results",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "How many days.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/referrals/settings": {
      "post": {
        "operationId": "setInviteSettings",
        "tags": [
          "Invites"
        ],
        "summary": "Change your invite settings",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/referrals/share-card": {
      "get": {
        "operationId": "getInviteShareCard",
        "tags": [
          "Invites"
        ],
        "summary": "Your share card image and captions",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`.",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/stats": {
      "get": {
        "operationId": "getStats",
        "tags": [
          "Public"
        ],
        "summary": "Offer totals, optionally for one placement",
        "description": "No sign-in.",
        "security": [],
        "parameters": [
          {
            "name": "placement",
            "in": "query",
            "required": false,
            "description": "Placement id.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/stats/network": {
      "get": {
        "operationId": "getNetworkStats",
        "tags": [
          "Public"
        ],
        "summary": "Network totals per day",
        "description": "No sign-in.",
        "security": [],
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "required": false,
            "description": "How many days.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/swoop/creator/{creator}": {
      "get": {
        "operationId": "getCreatorMetrics",
        "tags": [
          "Checked metrics"
        ],
        "summary": "Posted totals of a creator",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [
          {
            "name": "creator",
            "in": "path",
            "required": true,
            "description": "Creator address.",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/swoop/proof/{creator}/{epoch}": {
      "get": {
        "operationId": "getMetricsProof",
        "tags": [
          "Checked metrics"
        ],
        "summary": "Merkle proof of a creator's counts in one hourly batch",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [
          {
            "name": "creator",
            "in": "path",
            "required": true,
            "description": "Creator address.",
            "schema": {
              "type": "string"
            },
            "example": "0x1111111111111111111111111111111111111111"
          },
          {
            "name": "epoch",
            "in": "path",
            "required": true,
            "description": "Hour number of the batch.",
            "schema": {
              "type": "string"
            },
            "example": "489000"
          },
          {
            "name": "leaf",
            "in": "query",
            "required": false,
            "description": "Leaf to prove.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/swoop/status": {
      "get": {
        "operationId": "getMetricsStatus",
        "tags": [
          "Checked metrics"
        ],
        "summary": "Whether hourly metric batches are being posted on chain",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/token-promo/challenge": {
      "post": {
        "operationId": "startTokenOwnership",
        "tags": [
          "Token promo"
        ],
        "summary": "Get the message to sign to show you created a token",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/token-promo/config": {
      "get": {
        "operationId": "getTokenPromoConfig",
        "tags": [
          "Token promo"
        ],
        "summary": "Rules a token must pass to be promoted",
        "description": "No sign-in. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/token-promo/submit": {
      "post": {
        "operationId": "submitToken",
        "tags": [
          "Token promo"
        ],
        "summary": "Submit a token with the signed message",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/token-promo/tokens": {
      "get": {
        "operationId": "listMyTokens",
        "tags": [
          "Token promo"
        ],
        "summary": "Tokens you submitted",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/token-promo/tokens/{id}": {
      "get": {
        "operationId": "getMyToken",
        "tags": [
          "Token promo"
        ],
        "summary": "One token and its check results",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/token-promo/tokens/{id}/campaign": {
      "post": {
        "operationId": "startTokenCampaign",
        "tags": [
          "Token promo"
        ],
        "summary": "Start a sponsored campaign for the token",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/token-promo/tokens/{id}/card": {
      "get": {
        "operationId": "getTokenCard",
        "tags": [
          "Token promo"
        ],
        "summary": "Share card of the token",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/token-promo/tokens/{id}/opt-in": {
      "post": {
        "operationId": "optInTokenPosts",
        "tags": [
          "Token promo"
        ],
        "summary": "Allow or stop posts about the token on Swoop's own channels",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    },
    "/v1/token-promo/tokens/{id}/rescan": {
      "post": {
        "operationId": "rescanToken",
        "tags": [
          "Token promo"
        ],
        "summary": "Run the checks again",
        "description": "Sign in with Gully ID and send the token as `Authorization: Bearer`. Not switched on yet: answers 404 until it is.",
        "x-status": "off",
        "security": [
          {
            "gullyId": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "Id.",
            "schema": {
              "type": "string"
            },
            "example": "example_id"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true,
                "description": "JSON object. The full shape is not specified here yet."
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "description": "JSON object. The full shape is not specified here yet."
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Invalid"
          },
          "401": {
            "$ref": "#/components/responses/SignIn"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/SlowDown"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "gullyId": {
        "type": "http",
        "scheme": "bearer",
        "description": "A Gully ID token from Sign in with Gully ID."
      }
    },
    "responses": {
      "Invalid": {
        "description": "A field is missing or malformed.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "invalid request",
              "code": "invalid",
              "issues": [
                {
                  "path": "reward",
                  "message": "Required"
                }
              ]
            }
          }
        }
      },
      "SignIn": {
        "description": "Sign in with Gully ID.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "sign in with Gully ID",
              "code": "unauthenticated"
            }
          }
        }
      },
      "NotFound": {
        "description": "Not found, or the feature is not switched on yet.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "not found",
              "code": "not_found"
            }
          }
        }
      },
      "SlowDown": {
        "description": "Too many calls. Slow down and retry.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "too many requests",
              "code": "rate_limited"
            }
          }
        }
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "error",
          "code"
        ],
        "properties": {
          "error": {
            "type": "string",
            "description": "What went wrong, in plain words."
          },
          "code": {
            "type": "string",
            "description": "A stable code."
          },
          "issues": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-rate-limit": {
    "headers": [],
    "note": "Limits apply per visitor and per account. No rate-limit headers are sent yet."
  },
  "x-errors": [
    {
      "code": "invalid",
      "http": 400,
      "meaning": "A field is missing or malformed. `issues` lists the fields."
    },
    {
      "code": "unauthenticated",
      "http": 401,
      "meaning": "Sign in with Gully ID."
    },
    {
      "code": "not_found",
      "http": 404,
      "meaning": "No such record, or the feature is not switched on yet."
    },
    {
      "code": "rate_limited",
      "http": 429,
      "meaning": "Too many calls. Slow down and retry."
    },
    {
      "code": "velocity",
      "http": 429,
      "meaning": "Too many offers started or checks run in a short time. Try again later."
    },
    {
      "code": "internal",
      "http": 500,
      "meaning": "Unexpected error."
    }
  ],
  "x-try-it": {
    "keyless": true,
    "operations": [
      "getNetworkStats",
      "getStats"
    ],
    "note": "Runs only the open reads that allow calls from any site. Testnet data."
  }
}
