Sonatype Nexus · Example Payload

Sonatype Nexus Search Components Example

Example response from GET /v1/search searching for components by name

Artifact ManagementDevOpsPackage ManagementRepositoryMavennpmDockerSoftware Supply Chain

Sonatype Nexus Search Components Example is an example object payload from Sonatype Nexus, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionrequestresponse

Example Payload

Raw ↑
{
  "description": "Example response from GET /v1/search searching for components by name",
  "request": {
    "method": "GET",
    "url": "https://nexus.example.com/service/rest/v1/search?name=spring-core&format=maven2",
    "headers": {
      "Authorization": "Basic base64(username:password)",
      "Accept": "application/json"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "items": [
        {
          "id": "bWF2ZW4tcmVsZWFzZXM6YWJjZGVm",
          "repository": "maven-central",
          "format": "maven2",
          "group": "org.springframework",
          "name": "spring-core",
          "version": "6.1.5",
          "assets": [
            {
              "downloadUrl": "https://nexus.example.com/repository/maven-central/org/springframework/spring-core/6.1.5/spring-core-6.1.5.jar",
              "path": "org/springframework/spring-core/6.1.5/spring-core-6.1.5.jar",
              "id": "bWF2ZW4tc3ByaW5n",
              "repository": "maven-central",
              "format": "maven2",
              "checksum": {
                "sha1": "a1b2c3d4e5f6...",
                "md5": "1a2b3c4d5e6f..."
              },
              "contentType": "application/java-archive",
              "lastModified": "2024-03-15T10:30:00.000+00:00",
              "fileSize": 1847234
            }
          ]
        }
      ],
      "continuationToken": null
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/sonatype-nexus-search-components-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.