{ "opencollection": "1.0.0", "info": { "name": "RubyGems Activity Versions API", "version": "1.0" }, "items": [ { "info": { "name": "Versions", "type": "folder" }, "items": [ { "info": { "name": "Get Gem Version Details", "type": "http" }, "http": { "method": "GET", "url": "https://rubygems.org/api/v1/rubygems/:gemName/versions/:versionNumber.json", "params": [ { "name": "gemName", "value": "coulda", "type": "path", "description": "The name of the gem" }, { "name": "versionNumber", "value": "0.7.1", "type": "path", "description": "The version number of the gem" }, { "name": "platform", "value": "ruby", "type": "query", "description": "Filter by platform. Common values include ruby, java, and x86_64-linux. If not specified, defaults to the ruby platform." } ] }, "docs": "Returns detailed information about a specific gem version, including name, version number, download counts, platform, authors, description, dependencies, URIs, timestamps, checksums, and metadata. Optionally filter by platform using the platform query parameter." }, { "info": { "name": "List Gem Versions", "type": "http" }, "http": { "method": "GET", "url": "https://rubygems.org/api/v1/versions/:gemName.json", "params": [ { "name": "gemName", "value": "rails", "type": "path", "description": "The name of the gem" } ] }, "docs": "Returns an array of version objects for a specific gem, including version numbers, platforms, authors, descriptions, checksums, and metadata for each published version." }, { "info": { "name": "Get Latest Gem Version", "type": "http" }, "http": { "method": "GET", "url": "https://rubygems.org/api/v1/versions/:gemName/latest.json", "params": [ { "name": "gemName", "value": "rails", "type": "path", "description": "The name of the gem" } ] }, "docs": "Returns an object containing the latest version number for the specified gem." }, { "info": { "name": "Get Versions Within A Timeframe", "type": "http" }, "http": { "method": "GET", "url": "https://rubygems.org/api/v1/timeframe_versions.json", "params": [ { "name": "from", "value": "", "type": "query", "description": "Start of the timeframe in ISO 8601 format (e.g., 2024-01-01T00:00:00Z). Required." }, { "name": "to", "value": "", "type": "query", "description": "End of the timeframe in ISO 8601 format. Defaults to current time if not specified." }, { "name": "page", "value": "", "type": "query", "description": "Page number for paginated results" } ] }, "docs": "Returns an array of gem versions created within a specified timeframe. The from parameter is required and must be an ISO 8601 timestamp. The time span cannot exceed 7 days. Results are paginated with 30 versions per page." } ] } ], "bundled": true }