{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bitbucket Addon Search API",
    "version": "2.0"
  },
  "items": [
    {
      "info": {
        "name": "Search",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search for code in a team's repositories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/teams/:username/search/code",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The account to search in; either the username or the UUID in curly braces"
              },
              {
                "name": "search_query",
                "value": "",
                "type": "query",
                "description": "The search query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Which page of the search results to retrieve"
              },
              {
                "name": "pagelen",
                "value": "",
                "type": "query",
                "description": "How many search results to retrieve per page"
              }
            ]
          },
          "docs": "Search for code in the repositories of the specified team.\n\nNote that searches can match in the file's text (`content_matches`),\nthe path (`path_matches`), or both.\n\nYou can use the same syntax for the search query as in the UI.\nE.g. to search for \"foo\" only within the repository \"demo\",\nuse the query parameter `search_query=foo+repo:demo`.\n\nSimilar to other APIs, you can request more fields using a\n`fields` query parameter. E.g. to get some more information about\nthe repository of matched files"
        },
        {
          "info": {
            "name": "Search for code in a user's repositories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:selected_user/search/code",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
              },
              {
                "name": "search_query",
                "value": "",
                "type": "query",
                "description": "The search query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Which page of the search results to retrieve"
              },
              {
                "name": "pagelen",
                "value": "",
                "type": "query",
                "description": "How many search results to retrieve per page"
              }
            ]
          },
          "docs": "Search for code in the repositories of the specified user.\n\nNote that searches can match in the file's text (`content_matches`),\nthe path (`path_matches`), or both.\n\nYou can use the same syntax for the search query as in the UI.\nE.g. to search for \"foo\" only within the repository \"demo\",\nuse the query parameter `search_query=foo+repo:demo`.\n\nSimilar to other APIs, you can request more fields using a\n`fields` query parameter. E.g. to get some more information about\nthe repository of matched files"
        },
        {
          "info": {
            "name": "Search for code in a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/search/code",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The workspace to search in; either the slug or the UUID in curly braces"
              },
              {
                "name": "search_query",
                "value": "",
                "type": "query",
                "description": "The search query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Which page of the search results to retrieve"
              },
              {
                "name": "pagelen",
                "value": "",
                "type": "query",
                "description": "How many search results to retrieve per page"
              }
            ]
          },
          "docs": "Search for code in the repositories of the specified workspace.\n\nNote that searches can match in the file's text (`content_matches`),\nthe path (`path_matches`), or both.\n\nYou can use the same syntax for the search query as in the UI.\nE.g. to search for \"foo\" only within the repository \"demo\",\nuse the query parameter `search_query=foo+repo:demo`.\n\nSimilar to other APIs, you can request more fields using a\n`fields` query parameter. E.g. to get some more information about\nthe repository of matched "
        }
      ]
    }
  ],
  "bundled": true
}