Skip to main content
POST
/
api
/
golang
/
packages
/
recent
/golang/packages/recent
curl --request POST \
  --url https://api.anysite.io/api/golang/packages/recent \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "since": "<string>"
}
'
[
  {
    "module_path": "<string>",
    "version": "<string>",
    "@type": "GolangRecentModule",
    "published_at": 123,
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of recently published modules to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
since
string | null

ISO-8601 timestamp; only modules published at or after it (default: last few hours)

Response

Successful Response

module_path
string
required
version
string
required
@type
string
default:GolangRecentModule
published_at
integer | null
web_url
string
default:""