Skip to content

Commit afc8426

Browse files
monkenrwstauner
authored andcommitted
Updated Beta API Docs (markdown)
1 parent e26c1f6 commit afc8426

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/Beta-API-docs.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,17 @@ curl -XPOST api.beta.metacpan.org/release/_search -d '{
5757
}
5858
}'
5959
```
60+
61+
### The size of the CPAN unpacked
62+
63+
````sh
64+
curl -XPOST api.beta.metacpan.org/file/_search -d '{
65+
"query": { "match_all": {} },
66+
"facets": {
67+
"size": {
68+
"statistical": {
69+
"field": "stat.size"
70+
} } },
71+
"size":0
72+
}'
73+
````

0 commit comments

Comments
 (0)