Working with Raw
CodeScoring.Save stores arbitrary files in hosted repositories in Raw format: archives, binary builds, documentation, and other artifacts without a package manager. Uploads and downloads use standard HTTP requests.
Creating a Repository
In the web UI, open a project, click Create repository, and select Format: Raw / Generic and Type: Hosted. Common fields are described in Repository Management.
The same repository can be created through the API:
Uploading Files
The web interface has no upload button: files are uploaded only over HTTP. Upload a file with a PUT request to the path where it should be available in the repository:
Package Name, Version, and Architecture
You can provide metadata as query parameters in the upload URL:
All parameters are optional. The version is a string and does not have to follow SemVer. Metadata does not change the file path.
Binary PUT:
Multipart:
In a multipart request, metadata also goes in the URL, while the file goes in the file field. URL-encode parameter values: for example, team/my-package → team%2Fmy-package, 1.2.3+build.7 → 1.2.3%2Bbuild.7. Empty or repeated parameters return 400.
History retention depends on the server's enable_versioning setting for Raw. With history enabled, uploading the same path and version again returns 409. With history disabled, PUT replaces the current file. A locked file (Lock artifact) cannot be overwritten.
For CI/CD, use Basic Auth with a robot account: username sa$<robot-name>, password — the API key. See Authentication.
Downloading Files
In the web interface, select the file in the repository tree and click Download in the right pane.
Over HTTP, use the same path without upload parameters:
Checking Metadata
The upload response includes the name, version, architecture (if specified), path, size, and checksum. Stored artifacts can be found through the API with name and version filters:
<repository-id> is the numeric repository ID returned by the repository creation API.
