Versions
Export artifact version as ZIP
Exports a Protobuf artifact version with all its transitive dependencies as a ZIP file. The files in the ZIP are organized by their package names to match the expected directory structure for protoc compilation. Import statements are rewritten to use canonical package-based paths.
This operation is only supported for PROTOBUF artifact types.
This operation can fail for the following reasons:
- No artifact with this artifactId exists (HTTP error 404)
- No version with this version exists (HTTP error 404)
- Artifact is not of type PROTOBUF (HTTP error 400)
- A server error occurred (HTTP error 500)
get/groups/{groupId}/artifacts/{artifactId}/versions/{versionExpression}/export
Response
The Protobuf artifact and its dependencies exported as a ZIP file with package-structured directories.