Fashion Advisor

Fashion Advisor · GPT-Aktionen

Vinted Search API

  • GET /getSearchSearch Vinted Listings
Ursprüngliches API-Schema
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Vinted Search API"
  },
  "servers": [
    {
      "url": "https://vinted3.p.rapidapi.com"
    }
  ],
  "paths": {
    "/getSearch": {
      "get": {
        "summary": "Search Vinted Listings",
        "operationId": "getSearch",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "order",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Search Results",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Product"
                  }
                }
              }
            }
          },
          "default": {
            "description": "Unexpected Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Product": {
        "type": "object",
        "properties": {
          "productId": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "promoted": {
            "type": "boolean"
          },
          "favourites": {
            "type": "integer"
          },
          "brand": {
            "type": "string"
          },
          "size": {
            "type": "string"
          },
          "price": {
            "$ref": "#/components/schemas/Price"
          },
          "seller": {
            "$ref": "#/components/schemas/Seller"
          }
        }
      },
      "Price": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "discount": {
            "type": "string"
          },
          "fees": {
            "type": "string"
          },
          "totalAmount": {
            "type": "string"
          }
        }
      },
      "Seller": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer"
          },
          "username": {
            "type": "string"
          },
          "profile": {
            "type": "string"
          },
          "profilePicture": {
            "type": "string"
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "RapidAPIKeyHeaderAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-RapidAPI-Key"
      }
    }
  },
  "security": [
    {
      "RapidAPIKeyHeaderAuth": []
    }
  ]
}