[~]$ curl -i https://forgeapi.puppet.com/v3/modules/ntp [ruby-2.6.5@forge_ruby] |
HTTP/1.1 400 Bad Request |
server: nginx |
date: Mon, 21 Dec 2020 22:39:04 GMT |
content-type: application/json |
content-length: 60 |
cache-control: public, must-revalidate |
etag: "aebd38f7ea0331d668e149b2a9f58e28" |
vary: Origin,Accept-Encoding |
x-content-type-options: nosniff |
x-app-server: forgeapi/forgeapi-forgenext-app-prod-1.ops.puppetlabs.net |
x-lb-server: forgenext-lb-prod-1 |
x-uuid: 472474BD:E9A9_0AE100EB:01BB_5FE12408_433BBD2:6004 |
|
{ |
"errors": [ |
"'ntp' is not a valid module slug" |
] |
}% |
|
|
[~]$ curl -i https://forgeapi.puppet.com/v3/modules/foo-ntp [ruby-2.6.5@forge_ruby] |
HTTP/1.1 404 Not Found |
server: nginx |
date: Mon, 21 Dec 2020 22:39:09 GMT |
content-type: application/json |
content-length: 95 |
etag: "5fd7a0fe-5f" |
x-app-server: forgeapi/forgeapi-forgenext-app-prod-8.ops.puppetlabs.net |
x-lb-server: forgenext-lb-prod-1 |
x-uuid: 472474BD:E9AA_0AE100EB:01BB_5FE1240D_433BC4D:6004 |
|
{ |
"message": "404 Not Found", |
"errors": ["The requested resource could not be found."] |
} |
|
|
[~]$ curl -i https://forgeapi.puppet.com/v3/modules/puppetlabs-ntp [ruby-2.6.5@forge_ruby] |
HTTP/1.1 200 OK |
server: nginx |
date: Mon, 21 Dec 2020 22:39:32 GMT |
content-type: application/json |
content-length: 66625 |
cache-control: public, must-revalidate |
last-modified: Thu, 17 Dec 2020 08:33:38 GMT |
etag: "c1c7704f41c19399cb249a76fe5021b3" |
vary: Origin,Accept-Encoding |
x-content-type-options: nosniff |
x-app-server: forgeapi/forgeapi-forgenext-app-prod-1.ops.puppetlabs.net |
x-lb-server: forgenext-lb-prod-2 |
x-uuid: 472474BD:E9AC_0AE10168:01BB_5FE12424_6F8FC0A:4254 |
|
{ |
"uri": "/v3/modules/puppetlabs-ntp", |
"slug": "puppetlabs-ntp", |
"name": "ntp", |
... |
}
|