build endpoint: document the "timestamp" flag

The "timestamp" flag has been around for ages, but we never documented
it in the API.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
Nalin Dahyabhai
2025-07-21 15:02:27 -04:00
committed by tomsweeneyredhat
parent 7517e3267a
commit a615dde1a5

View File

@ -1559,7 +1559,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// type: boolean
// default: false
// description: |
// Contents of base images to be modified on ADD or COPY only
// Contents of volume locations to be modified on ADD or COPY only
// (As of Podman version v5.2)
// - in: query
// name: createdannotation
@ -1585,6 +1585,12 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// have timestamps no later than the sourcedateepoch date.
// (As of Podman version v5.6)
// - in: query
// name: timestamp
// type: number
// description: |
// Timestamp to use for newly-added history entries, the image's
// creation date, and for new content added in layers.
// - in: query
// name: inheritlabels
// type: boolean
// default: true