{{define "content"}}

{{.Eyebrow}}

{{.Heading}}

{{.Description}}

{{if .Project.IsActive}}Active{{else}}Archived{{end}}

{{.Project.Slug}}

{{if .Form.Error}}

{{.Form.Error}}

{{end}}

Project Details

Edit the stable metadata used by the admin UI and future client endpoints.

{{template "csrf_field" .}}

Lifecycle

Archive projects to hide them operationally without deleting their data.

Created: {{.Project.CreatedAt.Format "2006-01-02 15:04 UTC"}}

Updated: {{.Project.UpdatedAt.Format "2006-01-02 15:04 UTC"}}

{{template "csrf_field" .}}

Project Tags

Tags are available from day one so projects can be grouped immediately.

{{if .Tags}}
{{range .Tags}}
{{template "csrf_field" $}} {{.Name}}
{{end}}
{{else}}

No tags attached yet.

{{end}} {{if .AvailableTags}}
{{template "csrf_field" .}}
{{else}}

All existing tags are already attached. Create another tag if you need a new grouping.

{{end}}

Release Upload

Uploads are stored outside the public web root and each release records its checksum, size, and storage path.

{{if .Upload.Error}}

{{.Upload.Error}}

{{end}}
{{template "csrf_field" .}}

Maximum upload size: {{.Upload.MaxUploadMB}} MB.

Release History

Each release row keeps the sanitized filename, checksum, file size, content type, and private storage path for later download endpoints.

{{if .Releases}}
{{range .Releases}}

{{.Release.Version}}{{if .Release.Build}} {{.Release.Build}}{{end}}

{{.Release.ContentType}}

File: {{.Release.Filename}}

Checksum: {{.Release.ChecksumSHA256}}

Storage path: {{.Release.StoragePath}}

Size: {{.Release.SizeBytes}} bytes

Uploaded by: {{if .UploadedByEmail}}{{.UploadedByEmail}}{{else}}Unknown{{end}}

Created: {{.Release.CreatedAt.Format "2006-01-02 15:04 UTC"}}

{{if .Release.ReleaseNotes}}

{{.Release.ReleaseNotes}}

{{end}}
{{end}}
{{else}}

No releases uploaded for this project yet.

{{end}}

Client API

Use these bearer-authenticated endpoints from client applications after you create an API key with download access.

{{if .Project.IsActive}}

Project listing: {{.BaseURL}}/api/v1/projects

Latest release metadata: {{printf "%s/api/v1/projects/%s/releases/latest" .BaseURL .Project.Slug}}

{{if .LatestRelease}}

Release metadata: {{printf "%s/api/v1/releases/%d" .BaseURL .LatestRelease.ID}}

Artifact download: {{printf "%s/api/v1/releases/%d/download" .BaseURL .LatestRelease.ID}}

Current latest: Version {{.LatestRelease.Version}}{{if .LatestRelease.Build}} (build {{.LatestRelease.Build}}){{end}}, release ID {{.LatestRelease.ID}}.

{{else}}

Upload the first release to activate the metadata and download endpoints for this project.

{{end}}
{{else}}

This project is archived, so client API lookups and downloads will hide it until you restore the project.

{{end}}
{{end}}