Search In Chrome Extension Store

Search In Chrome Extension Store · Acciones GPT

GPT Actions API

Allow a GPT to interact with a backend

  • POST /chrome-store/searchRetrieve a list of Chrome Web Store extensions related to the query
  • GET /chrome-store/detail/{extensionId}Get details of a specific Chrome Web Store extension by its ID
  • POST /chrome-store/comment/{extensionId}Get comments of a specific Chrome Web Store extension by its ID
Esquema original API
{
  "openapi": "3.0.0",
  "paths": {
    "/chrome-store/search": {
      "post": {
        "operationId": "searchChromeWebStore",
        "summary": "Retrieve a list of Chrome Web Store extensions related to the query",
        "x-openai-isConsequential": false,
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "text": {
                    "description": "The Search query to search the Chrome Web Store",
                    "type": "string"
                  },
                  "maxCount": {
                    "description": " The maximum number of results to return",
                    "type": "integer",
                    "minimum": 0,
                    "exclusiveMinimum": true,
                    "default": 5
                  }
                },
                "required": [
                  "text"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "assistantNotice": {
                      "description": "A message from the assistant",
                      "type": "string"
                    },
                    "searchResult": {
                      "description": "The search results",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "The unique identifier of the extension",
                            "type": "string"
                          },
                          "iconURL": {
                            "description": "The URL of the extension icon",
                            "type": "string",
                            "format": "uri"
                          },
                          "title": {
                            "description": "The name of the extension",
                            "type": "string"
                          },
                          "rating": {
                            "description": "The average rating of the extension",
                            "type": "string"
                          },
                          "reviewCount": {
                            "description": "The number of reviews of the extension",
                            "type": "string"
                          },
                          "coverURL": {
                            "description": "The URL of the extension cover image",
                            "type": "string",
                            "format": "uri"
                          },
                          "description": {
                            "description": "The description of the extension",
                            "type": "string"
                          },
                          "publish": {
                            "description": "The publish date of the extension",
                            "type": "string"
                          },
                          "ifEstablish": {
                            "description": "Whether the extension has been established",
                            "type": "string"
                          },
                          "ifFeatured": {
                            "description": "Whether the extension is featured",
                            "type": "string"
                          },
                          "category": {
                            "description": "The category of the extension",
                            "type": "string"
                          },
                          "categoryNo": {
                            "description": "The category number of the extension",
                            "type": "string"
                          },
                          "userCount": {
                            "description": "The number of users of the extension",
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "iconURL",
                          "title",
                          "rating",
                          "reviewCount",
                          "coverURL",
                          "description",
                          "publish",
                          "ifEstablish",
                          "ifFeatured",
                          "category",
                          "categoryNo",
                          "userCount"
                        ]
                      }
                    }
                  },
                  "required": [
                    "assistantNotice",
                    "searchResult"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "description": "Error message",
                      "type": "string"
                    },
                    "assistantNotice": {
                      "description": "Additional information or suggestions",
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "assistantNotice"
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/chrome-store/detail/{extensionId}": {
      "get": {
        "operationId": "GetChromeWebStoreExtensionDetails",
        "summary": "Get details of a specific Chrome Web Store extension by its ID",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "extensionId",
            "required": true,
            "in": "path",
            "description": "The ID of the Chrome Web Store extension to retrieve details for",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "assistantNotice": {
                      "description": "A message from the assistant",
                      "type": "string"
                    },
                    "extensionDetails": {
                      "description": "The details of the extension",
                      "type": "object",
                      "properties": {
                        "id": {
                          "description": "The unique identifier of the extension",
                          "type": "string"
                        },
                        "iconURL": {
                          "description": "The URL of the extension icon",
                          "type": "string",
                          "format": "uri"
                        },
                        "title": {
                          "description": "The name of the extension",
                          "type": "string"
                        },
                        "rating": {
                          "description": "The average rating of the extension",
                          "type": "string"
                        },
                        "reviewCount": {
                          "description": "The number of reviews of the extension",
                          "type": "string"
                        },
                        "coverURL": {
                          "description": "The URL of the extension cover image",
                          "type": "string",
                          "format": "uri"
                        },
                        "description": {
                          "description": "The description of the extension",
                          "type": "string"
                        },
                        "publish": {
                          "description": "The publish date of the extension",
                          "type": "string"
                        },
                        "ifEstablish": {
                          "description": "Whether the extension has been established",
                          "type": "string"
                        },
                        "ifFeatured": {
                          "description": "Whether the extension is featured",
                          "type": "string"
                        },
                        "category": {
                          "description": "The category of the extension",
                          "type": "string"
                        },
                        "categoryNo": {
                          "description": "The category number of the extension",
                          "type": "string"
                        },
                        "userCount": {
                          "description": "The number of users of the extension",
                          "type": "string"
                        },
                        "detailedDescription": {
                          "description": "The detailed description of the extension",
                          "type": "string"
                        },
                        "additionalImages": {
                          "description": "Additional images of the extension",
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "version": {
                          "description": "The version of the extension",
                          "type": "string"
                        },
                        "offeredBy": {
                          "description": "The name of the developer",
                          "type": "string"
                        },
                        "updated": {
                          "description": "The date the extension was last updated",
                          "type": "string"
                        },
                        "size": {
                          "description": "The size of the extension",
                          "type": "string"
                        },
                        "languages": {
                          "description": "The supported languages",
                          "type": "string"
                        },
                        "email": {
                          "description": "The email address of the developer",
                          "type": "string",
                          "format": "email"
                        },
                        "websiteUrl": {
                          "description": "The URL of the developer’s website",
                          "type": "string",
                          "format": "uri"
                        },
                        "privacyPolicyUrl": {
                          "description": "The URL of the privacy policy",
                          "type": "string",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "id",
                        "iconURL",
                        "title",
                        "rating",
                        "reviewCount",
                        "coverURL",
                        "description",
                        "publish",
                        "ifEstablish",
                        "ifFeatured",
                        "category",
                        "categoryNo",
                        "userCount"
                      ]
                    }
                  },
                  "required": [
                    "assistantNotice",
                    "extensionDetails"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "description": "Error message",
                      "type": "string"
                    },
                    "assistantNotice": {
                      "description": "Additional information or suggestions",
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "assistantNotice"
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          }
        ]
      }
    },
    "/chrome-store/comment/{extensionId}": {
      "post": {
        "operationId": "GetChromeWebStoreExtensionComments",
        "summary": "Get comments of a specific Chrome Web Store extension by its ID",
        "x-openai-isConsequential": false,
        "parameters": [
          {
            "name": "extensionId",
            "required": true,
            "in": "path",
            "description": "The ID of the Chrome Web Store extension to retrieve comments for",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "limit": {
                    "description": "The maximum number of comments to return",
                    "type": "integer",
                    "minimum": 0,
                    "exclusiveMinimum": true,
                    "default": 10
                  },
                  "lang": {
                    "description": "The language of the comments",
                    "type": "string",
                    "enum": [
                      "zh",
                      "en",
                      "all"
                    ],
                    "default": "all"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "assistantNotice": {
                      "description": "A message from the assistant",
                      "type": "string"
                    },
                    "number": {
                      "description": "The number of comments returned",
                      "type": "integer"
                    },
                    "comments": {
                      "description": "The comments on the extension",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "userId": {
                            "description": "The ID of the user who made the comment",
                            "type": "string"
                          },
                          "name": {
                            "description": "The name of the user who made the comment",
                            "type": "string"
                          },
                          "avatarUrl": {
                            "description": "The URL of the user's avatar",
                            "type": "string",
                            "format": "uri"
                          },
                          "rating": {
                            "description": "The rating given by the user",
                            "type": "number"
                          },
                          "review": {
                            "description": "The review made by the user",
                            "type": "string"
                          },
                          "version": {
                            "description": "The version of the extension the user is commenting on",
                            "type": "string"
                          }
                        },
                        "required": [
                          "userId",
                          "name",
                          "avatarUrl",
                          "rating",
                          "review",
                          "version"
                        ]
                      }
                    }
                  },
                  "required": [
                    "assistantNotice",
                    "number",
                    "comments"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "description": "Error message",
                      "type": "string"
                    },
                    "assistantNotice": {
                      "description": "Additional information or suggestions",
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "assistantNotice"
                  ]
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "GPT Actions API",
    "description": "Allow a GPT to interact with a backend",
    "version": "1.0",
    "contact": {}
  },
  "tags": [],
  "servers": [
    {
      "url": "https://chrome-store.zeabur.app"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {}
  }
}