v51

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-01131107332.8 KB
Content

Detect references in content

Analyzes the provided content and returns a list of external references found within it. The artifact type is used to determine the appropriate reference detection strategy. If no artifact type is provided, the system will attempt to auto-detect it from the content.

post/content/references

Query parameters

artifactTypestring

The type of artifact represented by the content. If not provided, the server will attempt to auto-detect the type from the content.

Request body

contentstring required

Raw content of the artifact version or a valid (and accessible) URL where the content can be found.

contentTypestring required

The content-type, such as application/json or text/xml.

encoding'base64'

Optional encoding for the content property. When set to 'base64', the content value will be base64-decoded by the server before processing.

Example request

{
  "references": [
    {
      "groupId": "mygroup",
      "artifactId": "13842090-2ce3-11ec-8d3d-0242ac130003",
      "version": "2",
      "name": "foo.bar.Open"
    }
  ]
}

Response

List of references detected in the provided content. Each reference will have only the name field populated. The name value corresponds to the reference string found in the content (e.g. a JSON Schema $ref value, a Protobuf import path, or an Avro type name).

groupIdstring required
artifactIdstring required
versionstring
namestring required

Example response

[
  {
    "groupId": "mygroup",
    "artifactId": "13842090-2ce3-11ec-8d3d-0242ac130003",
    "version": "2",
    "name": "foo.bar.Open"
  }
]