{
  "opencollection": "1.0.0",
  "info": {
    "name": "EVE Swagger Incineration (ESI) - tranquility Alliance Mail API",
    "version": "2020-01-01"
  },
  "items": [
    {
      "info": {
        "name": "Mail",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Return mail headers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://esi.evetech.net/characters/:character_id/mail",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-Compatibility-Date",
                "value": ""
              },
              {
                "name": "X-Tenant",
                "value": ""
              },
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "character_id",
                "value": "",
                "type": "path",
                "description": "The ID of the character"
              },
              {
                "name": "labels",
                "value": "",
                "type": "query"
              },
              {
                "name": "last_mail_id",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.eveonline.com/v2/oauth/authorize",
              "accessTokenUrl": "https://login.eveonline.com/v2/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Return the 50 most recent mail headers belonging to the character that match the query criteria. Queries can be filtered by label, and last_mail_id can be used to paginate backwards"
        },
        {
          "info": {
            "name": "Send a new mail",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://esi.evetech.net/characters/:character_id/mail",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-Compatibility-Date",
                "value": ""
              },
              {
                "name": "X-Tenant",
                "value": ""
              },
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "character_id",
                "value": "",
                "type": "path",
                "description": "The ID of the character"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.eveonline.com/v2/oauth/authorize",
              "accessTokenUrl": "https://login.eveonline.com/v2/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create and send a new mail"
        },
        {
          "info": {
            "name": "Get mail labels and unread counts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://esi.evetech.net/characters/:character_id/mail/labels",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-Compatibility-Date",
                "value": ""
              },
              {
                "name": "X-Tenant",
                "value": ""
              },
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "character_id",
                "value": "",
                "type": "path",
                "description": "The ID of the character"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.eveonline.com/v2/oauth/authorize",
              "accessTokenUrl": "https://login.eveonline.com/v2/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Return a list of the users mail labels, unread counts for each label and a total unread count."
        },
        {
          "info": {
            "name": "Create a mail label",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://esi.evetech.net/characters/:character_id/mail/labels",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-Compatibility-Date",
                "value": ""
              },
              {
                "name": "X-Tenant",
                "value": ""
              },
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "character_id",
                "value": "",
                "type": "path",
                "description": "The ID of the character"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.eveonline.com/v2/oauth/authorize",
              "accessTokenUrl": "https://login.eveonline.com/v2/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create a mail label"
        },
        {
          "info": {
            "name": "Delete a mail label",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://esi.evetech.net/characters/:character_id/mail/labels/:label_id",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-Compatibility-Date",
                "value": ""
              },
              {
                "name": "X-Tenant",
                "value": ""
              },
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "character_id",
                "value": "",
                "type": "path",
                "description": "The ID of the character"
              },
              {
                "name": "label_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.eveonline.com/v2/oauth/authorize",
              "accessTokenUrl": "https://login.eveonline.com/v2/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete a mail label"
        },
        {
          "info": {
            "name": "Return mailing list subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://esi.evetech.net/characters/:character_id/mail/lists",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-Compatibility-Date",
                "value": ""
              },
              {
                "name": "X-Tenant",
                "value": ""
              },
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "character_id",
                "value": "",
                "type": "path",
                "description": "The ID of the character"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.eveonline.com/v2/oauth/authorize",
              "accessTokenUrl": "https://login.eveonline.com/v2/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Return all mailing lists that the character is subscribed to"
        },
        {
          "info": {
            "name": "Return a mail",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://esi.evetech.net/characters/:character_id/mail/:mail_id",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-Compatibility-Date",
                "value": ""
              },
              {
                "name": "X-Tenant",
                "value": ""
              },
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "character_id",
                "value": "",
                "type": "path",
                "description": "The ID of the character"
              },
              {
                "name": "mail_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.eveonline.com/v2/oauth/authorize",
              "accessTokenUrl": "https://login.eveonline.com/v2/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Return the contents of an EVE mail"
        },
        {
          "info": {
            "name": "Update metadata about a mail",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://esi.evetech.net/characters/:character_id/mail/:mail_id",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-Compatibility-Date",
                "value": ""
              },
              {
                "name": "X-Tenant",
                "value": ""
              },
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "character_id",
                "value": "",
                "type": "path",
                "description": "The ID of the character"
              },
              {
                "name": "mail_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.eveonline.com/v2/oauth/authorize",
              "accessTokenUrl": "https://login.eveonline.com/v2/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update metadata about a mail"
        },
        {
          "info": {
            "name": "Delete a mail",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://esi.evetech.net/characters/:character_id/mail/:mail_id",
            "headers": [
              {
                "name": "Accept-Language",
                "value": ""
              },
              {
                "name": "If-None-Match",
                "value": ""
              },
              {
                "name": "X-Compatibility-Date",
                "value": ""
              },
              {
                "name": "X-Tenant",
                "value": ""
              },
              {
                "name": "If-Modified-Since",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "character_id",
                "value": "",
                "type": "path",
                "description": "The ID of the character"
              },
              {
                "name": "mail_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://login.eveonline.com/v2/oauth/authorize",
              "accessTokenUrl": "https://login.eveonline.com/v2/oauth/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete a mail"
        }
      ]
    }
  ],
  "bundled": true
}