Downloads
Create Download Provider
POST
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringapplication/json- body
provider*stringValue in
"modrinth""spigot""hangar""ore""curseforge""github"externalId*stringDownloadProviderRecord
application/json- response
id*stringprojectId*stringprovider*stringValue in
"modrinth""spigot""hangar""ore""curseforge""github"externalId*stringtitle*stringexcludedFiles?array<string>|nullslug?string|null|nullurl?string|null|nulliconUrl?string|null|nullsummary?string|null|nulltotalDownloads?number||null|nulllastSyncedAt*string|nullcreatedAt*stringcurl -X POST "https://example.com/v0/projects/string/download-providers" \ -H "Content-Type: application/json" \ -d '{ "provider": "modrinth", "externalId": "string" }'{ "id": "string", "projectId": "string", "provider": "modrinth", "externalId": "string", "title": "string", "excludedFiles": [ "string" ], "slug": "string", "url": "string", "iconUrl": "string", "summary": "string", "totalDownloads": 0, "lastSyncedAt": "string", "createdAt": "string"}