summaryrefslogtreecommitdiff
path: root/doc/json-hooks-protocol.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/json-hooks-protocol.md')
-rw-r--r--doc/json-hooks-protocol.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/json-hooks-protocol.md b/doc/json-hooks-protocol.md
index 09633e71d..489b04843 100644
--- a/doc/json-hooks-protocol.md
+++ b/doc/json-hooks-protocol.md
@@ -106,6 +106,16 @@ install. Each package has the following attributes:
- *version*: The version as a string
- *architecture*: Architecture of the version
- *pin*: The pin priority (optional)
+ - *origins*: Sources from which the package is retrieved (optional, not in older versions)
+
+ Each origin is represented as an object with the following fields:
+
+ - *archive*: string (optional)
+ - *codename*: string (optional)
+ - *version*: string (optional)
+ - *origin*: string (optional)
+ - *label*: string (optional)
+ - *site*: string, empty for local repositories or when using mirror+file:/ method (optional)
#### Example