{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/ecommerce:modrinth/projects-find":{"get":{"operationId":"ecommerce_modrinth_projects_find","summary":"Search projects","description":"GET /search","tags":["ecommerce"],"parameters":[{"name":"query","in":"query","required":false,"description":"The query to search for","schema":{"type":"string","description":"The query to search for"}},{"name":"facets","in":"query","required":false,"description":"Facets are an essential concept for understanding how to filter out results. These are the most commonly used facet types: -…","schema":{"type":"string","description":"Facets are an essential concept for understanding how to filter out results. These are the most commonly used facet types: -…"},"example":"[[\"categories:forge\"],[\"versions:1.17.1\"],[\"project_type:mod\"],[\"license:mit\"]]"},{"name":"index","in":"query","required":false,"description":"The sorting method used for sorting search results","schema":{"type":"string","enum":["relevance","downloads","follows","newest","updated"],"default":"relevance","description":"The sorting method used for sorting search results"}},{"name":"offset","in":"query","required":false,"description":"The offset into the search. Skips this number of results","schema":{"type":"integer","default":0,"description":"The offset into the search. Skips this number of results"}},{"name":"limit","in":"query","required":false,"description":"The number of results returned by the search","schema":{"type":"integer","default":10,"description":"The number of results returned by the search"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-get-project-by-id-or-slug":{"get":{"operationId":"ecommerce_modrinth_projects_get_project_by_id_or_slug","summary":"Get a project","description":"GET /project/{id|slug}","tags":["ecommerce"],"parameters":[{"name":"id|slug","in":"query","required":true,"description":"The ID or slug of the project","schema":{"type":"string","description":"The ID or slug of the project"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-update-project-by-id-or-slug":{"post":{"operationId":"ecommerce_modrinth_projects_update_project_by_id_or_slug","summary":"Modify a project","description":"PATCH /project/{id|slug}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|slug"],"properties":{"id|slug":{"type":"string","description":"The ID or slug of the project"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-remove-by-slug":{"post":{"operationId":"ecommerce_modrinth_projects_remove_by_slug","summary":"Delete a project","description":"DELETE /project/{id|slug}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|slug"],"properties":{"id|slug":{"type":"string","description":"The ID or slug of the project"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-list-projects":{"get":{"operationId":"ecommerce_modrinth_projects_list_projects","summary":"Get multiple projects","description":"GET /projects","tags":["ecommerce"],"parameters":[{"name":"ids","in":"query","required":true,"description":"The IDs and/or slugs of the projects","schema":{"type":"string","description":"The IDs and/or slugs of the projects"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-bulk-edit":{"post":{"operationId":"ecommerce_modrinth_projects_bulk_edit","summary":"Bulk-edit multiple projects","description":"PATCH /projects","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ids"],"properties":{"ids":{"type":"string","description":"The IDs and/or slugs of the projects"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-get-random-list":{"get":{"operationId":"ecommerce_modrinth_projects_get_random_list","summary":"Get a list of random projects","description":"GET /projects_random","tags":["ecommerce"],"parameters":[{"name":"count","in":"query","required":true,"description":"The number of random projects to return","schema":{"type":"integer","description":"The number of random projects to return"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-create-new-project":{"post":{"operationId":"ecommerce_modrinth_projects_create_new_project","summary":"Create a project","description":"POST /project","tags":["ecommerce"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-change-project-icon":{"post":{"operationId":"ecommerce_modrinth_projects_change_project_icon","summary":"Change project's icon","description":"PATCH /project/{id|slug}/icon","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|slug","ext"],"properties":{"id|slug":{"type":"string","description":"The ID or slug of the project"},"ext":{"type":"string","enum":["png","jpg","jpeg","bmp","gif","webp","svg","svgz","rgb"],"description":"Image extension"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-delete-project-icon":{"post":{"operationId":"ecommerce_modrinth_projects_delete_project_icon","summary":"Delete project's icon","description":"DELETE /project/{id|slug}/icon","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|slug"],"properties":{"id|slug":{"type":"string","description":"The ID or slug of the project"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-check-validity":{"get":{"operationId":"ecommerce_modrinth_projects_check_validity","summary":"Check project slug/ID validity","description":"GET /project/{id|slug}/check","tags":["ecommerce"],"parameters":[{"name":"id|slug","in":"query","required":true,"description":"The ID or slug of the project","schema":{"type":"string","description":"The ID or slug of the project"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-add-gallery-image":{"post":{"operationId":"ecommerce_modrinth_projects_add_gallery_image","summary":"Add a gallery image","description":"POST /project/{id|slug}/gallery","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|slug","ext","featured"],"properties":{"id|slug":{"type":"string","description":"The ID or slug of the project"},"ext":{"type":"string","enum":["png","jpg","jpeg","bmp","gif","webp","svg","svgz","rgb"],"description":"Image extension"},"featured":{"type":"boolean","description":"Whether an image is featured"},"title":{"type":"string","description":"Title of the image"},"description":{"type":"string","description":"Description of the image"},"ordering":{"type":"integer","description":"Ordering of the image"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-modify-gallery-image":{"post":{"operationId":"ecommerce_modrinth_projects_modify_gallery_image","summary":"Modify a gallery image","description":"PATCH /project/{id|slug}/gallery","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|slug","url"],"properties":{"id|slug":{"type":"string","description":"The ID or slug of the project"},"url":{"type":"string","description":"URL link of the image to modify"},"featured":{"type":"boolean","description":"Whether the image is featured"},"title":{"type":"string","description":"New title of the image"},"description":{"type":"string","description":"New description of the image"},"ordering":{"type":"integer","description":"New ordering of the image"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-delete-gallery-image":{"post":{"operationId":"ecommerce_modrinth_projects_delete_gallery_image","summary":"Delete a gallery image","description":"DELETE /project/{id|slug}/gallery","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|slug","url"],"properties":{"id|slug":{"type":"string","description":"The ID or slug of the project"},"url":{"type":"string","description":"URL link of the image to delete"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-get-dependencies":{"get":{"operationId":"ecommerce_modrinth_projects_get_dependencies","summary":"Get all of a project's dependencies","description":"GET /project/{id|slug}/dependencies","tags":["ecommerce"],"parameters":[{"name":"id|slug","in":"query","required":true,"description":"The ID or slug of the project","schema":{"type":"string","description":"The ID or slug of the project"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-follow-project-by-slug":{"post":{"operationId":"ecommerce_modrinth_projects_follow_project_by_slug","summary":"Follow a project","description":"POST /project/{id|slug}/follow","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|slug"],"properties":{"id|slug":{"type":"string","description":"The ID or slug of the project"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-unfollow-project":{"post":{"operationId":"ecommerce_modrinth_projects_unfollow_project","summary":"Unfollow a project","description":"DELETE /project/{id|slug}/follow","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|slug"],"properties":{"id|slug":{"type":"string","description":"The ID or slug of the project"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/projects-schedule-project":{"post":{"operationId":"ecommerce_modrinth_projects_schedule_project","summary":"Schedule a project","description":"POST /project/{id|slug}/schedule","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|slug"],"properties":{"id|slug":{"type":"string","description":"The ID or slug of the project"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versions-list-project-versions":{"get":{"operationId":"ecommerce_modrinth_versions_list_project_versions","summary":"List project's versions","description":"GET /project/{id|slug}/version","tags":["ecommerce"],"parameters":[{"name":"id|slug","in":"query","required":true,"description":"The ID or slug of the project","schema":{"type":"string","description":"The ID or slug of the project"}},{"name":"loaders","in":"query","required":false,"description":"The types of loaders to filter for","schema":{"type":"string","description":"The types of loaders to filter for"}},{"name":"game_versions","in":"query","required":false,"description":"The game versions to filter for","schema":{"type":"string","description":"The game versions to filter for"}},{"name":"featured","in":"query","required":false,"description":"Allows to filter for featured or non-featured versions only","schema":{"type":"boolean","description":"Allows to filter for featured or non-featured versions only"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versions-get-by-id":{"get":{"operationId":"ecommerce_modrinth_versions_get_by_id","summary":"Get a version","description":"GET /version/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the version","schema":{"type":"string","description":"The ID of the version"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versions-modify-version-by-id":{"post":{"operationId":"ecommerce_modrinth_versions_modify_version_by_id","summary":"Modify a version","description":"PATCH /version/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the version"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versions-delete-version-by-id":{"post":{"operationId":"ecommerce_modrinth_versions_delete_version_by_id","summary":"Delete a version","description":"DELETE /version/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the version"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versions-get-by-version-id-or-number":{"get":{"operationId":"ecommerce_modrinth_versions_get_by_version_id_or_number","summary":"Get a version given a version number or ID","description":"GET /project/{id|slug}/version/{id|number}","tags":["ecommerce"],"parameters":[{"name":"id|slug","in":"query","required":true,"description":"The ID or slug of the project","schema":{"type":"string","description":"The ID or slug of the project"}},{"name":"id|number","in":"query","required":true,"description":"The version ID or version number","schema":{"type":"string","description":"The version ID or version number"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versions-create-new-version":{"post":{"operationId":"ecommerce_modrinth_versions_create_new_version","summary":"Create a version","description":"POST /version","tags":["ecommerce"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versions-schedule-version":{"post":{"operationId":"ecommerce_modrinth_versions_schedule_version","summary":"Schedule a version","description":"POST /version/{id}/schedule","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the version"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versions-list":{"get":{"operationId":"ecommerce_modrinth_versions_list","summary":"Get multiple versions","description":"GET /versions","tags":["ecommerce"],"parameters":[{"name":"ids","in":"query","required":true,"description":"The IDs of the versions","schema":{"type":"string","description":"The IDs of the versions"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versions-add-files-to-version":{"post":{"operationId":"ecommerce_modrinth_versions_add_files_to_version","summary":"Add files to version","description":"POST /version/{id}/file","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the version"},"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versionfiles-get-version-from-hash":{"get":{"operationId":"ecommerce_modrinth_versionfiles_get_version_from_hash","summary":"Get version from hash","description":"GET /version_file/{hash}","tags":["ecommerce"],"parameters":[{"name":"hash","in":"query","required":true,"description":"The hash of the file, considering its byte content, and encoded in hexadecimal","schema":{"type":"string","description":"The hash of the file, considering its byte content, and encoded in hexadecimal"}},{"name":"algorithm","in":"query","required":true,"description":"The algorithm of the hash","schema":{"type":"string","enum":["sha1","sha512"],"default":"sha1","description":"The algorithm of the hash"}},{"name":"multiple","in":"query","required":false,"description":"Whether to return multiple results when looking for this hash","schema":{"type":"boolean","default":false,"description":"Whether to return multiple results when looking for this hash"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versionfiles-delete-by-hash":{"post":{"operationId":"ecommerce_modrinth_versionfiles_delete_by_hash","summary":"Delete a file from its hash","description":"DELETE /version_file/{hash}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hash","algorithm"],"properties":{"hash":{"type":"string","description":"The hash of the file, considering its byte content, and encoded in hexadecimal"},"algorithm":{"type":"string","enum":["sha1","sha512"],"default":"sha1","description":"The algorithm of the hash"},"version_id":{"type":"string","description":"Version ID to delete the version from, if multiple files of the same hash exist"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versionfiles-update-from-hashes":{"post":{"operationId":"ecommerce_modrinth_versionfiles_update_from_hashes","summary":"Latest version of a project from a hash, loader(s), and game version(s)","description":"POST /version_file/{hash}/update","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["hash","algorithm"],"properties":{"hash":{"type":"string","description":"The hash of the file, considering its byte content, and encoded in hexadecimal"},"algorithm":{"type":"string","enum":["sha1","sha512"],"default":"sha1","description":"The algorithm of the hash"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versionfiles-get-versions-from-hashes":{"post":{"operationId":"ecommerce_modrinth_versionfiles_get_versions_from_hashes","summary":"Get versions from hashes","description":"POST /version_files","tags":["ecommerce"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/versionfiles-update-multiple-versions":{"post":{"operationId":"ecommerce_modrinth_versionfiles_update_multiple_versions","summary":"Latest versions of multiple project from hashes, loader(s), and game version(s)","description":"POST /version_files/update","tags":["ecommerce"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/users-get-user-by-id-or-username":{"get":{"operationId":"ecommerce_modrinth_users_get_user_by_id_or_username","summary":"Get a user","description":"GET /user/{id|username}","tags":["ecommerce"],"parameters":[{"name":"id|username","in":"query","required":true,"description":"The ID or username of the user","schema":{"type":"string","description":"The ID or username of the user"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/users-modify-user-patch":{"post":{"operationId":"ecommerce_modrinth_users_modify_user_patch","summary":"Modify a user","description":"PATCH /user/{id|username}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|username"],"properties":{"id|username":{"type":"string","description":"The ID or username of the user"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/users-get-user-from-auth-header":{"get":{"operationId":"ecommerce_modrinth_users_get_user_from_auth_header","summary":"Get user from authorization header","description":"GET /user","tags":["ecommerce"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/users-get-multiple-users":{"get":{"operationId":"ecommerce_modrinth_users_get_multiple_users","summary":"Get multiple users","description":"GET /users","tags":["ecommerce"],"parameters":[{"name":"ids","in":"query","required":true,"description":"The IDs of the users","schema":{"type":"string","description":"The IDs of the users"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/users-change-avatar":{"post":{"operationId":"ecommerce_modrinth_users_change_avatar","summary":"Change user's avatar","description":"PATCH /user/{id|username}/icon","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|username"],"properties":{"id|username":{"type":"string","description":"The ID or username of the user"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/users-get-user-projects":{"get":{"operationId":"ecommerce_modrinth_users_get_user_projects","summary":"Get user's projects","description":"GET /user/{id|username}/projects","tags":["ecommerce"],"parameters":[{"name":"id|username","in":"query","required":true,"description":"The ID or username of the user","schema":{"type":"string","description":"The ID or username of the user"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/users-get-followed-projects":{"get":{"operationId":"ecommerce_modrinth_users_get_followed_projects","summary":"Get user's followed projects","description":"GET /user/{id|username}/follows","tags":["ecommerce"],"parameters":[{"name":"id|username","in":"query","required":true,"description":"The ID or username of the user","schema":{"type":"string","description":"The ID or username of the user"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/users-get-payouts":{"get":{"operationId":"ecommerce_modrinth_users_get_payouts","summary":"Get user's payout history","description":"GET /user/{id|username}/payouts","tags":["ecommerce"],"parameters":[{"name":"id|username","in":"query","required":true,"description":"The ID or username of the user","schema":{"type":"string","description":"The ID or username of the user"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/users-withdraw-payout-balance-to-paypal":{"post":{"operationId":"ecommerce_modrinth_users_withdraw_payout_balance_to_paypal","summary":"Withdraw payout balance to PayPal or Venmo","description":"POST /user/{id|username}/payouts","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id|username","amount"],"properties":{"id|username":{"type":"string","description":"The ID or username of the user"},"amount":{"type":"integer","description":"Amount to withdraw"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/notifications-get-user-notifications":{"get":{"operationId":"ecommerce_modrinth_notifications_get_user_notifications","summary":"Get user's notifications","description":"GET /user/{id|username}/notifications","tags":["ecommerce"],"parameters":[{"name":"id|username","in":"query","required":true,"description":"The ID or username of the user","schema":{"type":"string","description":"The ID or username of the user"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/notifications-get-by-id":{"get":{"operationId":"ecommerce_modrinth_notifications_get_by_id","summary":"Get notification from ID","description":"GET /notification/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the notification","schema":{"type":"string","description":"The ID of the notification"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/notifications-mark-as-read":{"post":{"operationId":"ecommerce_modrinth_notifications_mark_as_read","summary":"Mark notification as read","description":"PATCH /notification/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the notification"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/notifications-delete-by-id":{"post":{"operationId":"ecommerce_modrinth_notifications_delete_by_id","summary":"Delete notification","description":"DELETE /notification/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the notification"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/notifications-get-multiple":{"get":{"operationId":"ecommerce_modrinth_notifications_get_multiple","summary":"Get multiple notifications","description":"GET /notifications","tags":["ecommerce"],"parameters":[{"name":"ids","in":"query","required":true,"description":"The IDs of the notifications","schema":{"type":"string","description":"The IDs of the notifications"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/notifications-mark-as-read-2":{"post":{"operationId":"ecommerce_modrinth_notifications_mark_as_read_2","summary":"Mark multiple notifications as read","description":"PATCH /notifications","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ids"],"properties":{"ids":{"type":"string","description":"The IDs of the notifications"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/notifications-delete-multiple":{"post":{"operationId":"ecommerce_modrinth_notifications_delete_multiple","summary":"Delete multiple notifications","description":"DELETE /notifications","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ids"],"properties":{"ids":{"type":"string","description":"The IDs of the notifications"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/threads-get-open-reports":{"get":{"operationId":"ecommerce_modrinth_threads_get_open_reports","summary":"Get your open reports","description":"GET /report","tags":["ecommerce"],"parameters":[{"name":"count","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/threads-report-project-user-version":{"post":{"operationId":"ecommerce_modrinth_threads_report_project_user_version","summary":"Report a project, user, or version","description":"POST /report","tags":["ecommerce"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/threads-get-report-by-id":{"get":{"operationId":"ecommerce_modrinth_threads_get_report_by_id","summary":"Get report from ID","description":"GET /report/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the report","schema":{"type":"string","description":"The ID of the report"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/threads-modify-report":{"post":{"operationId":"ecommerce_modrinth_threads_modify_report","summary":"Modify a report","description":"PATCH /report/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the report"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/threads-get-multiple-reports":{"get":{"operationId":"ecommerce_modrinth_threads_get_multiple_reports","summary":"Get multiple reports","description":"GET /reports","tags":["ecommerce"],"parameters":[{"name":"ids","in":"query","required":true,"description":"The IDs of the reports","schema":{"type":"string","description":"The IDs of the reports"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/threads-get-thread-by-id":{"get":{"operationId":"ecommerce_modrinth_threads_get_thread_by_id","summary":"Get a thread","description":"GET /thread/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the thread","schema":{"type":"string","description":"The ID of the thread"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/threads-send-message":{"post":{"operationId":"ecommerce_modrinth_threads_send_message","summary":"Send a text message to a thread","description":"POST /thread/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the thread"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/threads-list-threads":{"get":{"operationId":"ecommerce_modrinth_threads_list_threads","summary":"Get multiple threads","description":"GET /threads","tags":["ecommerce"],"parameters":[{"name":"ids","in":"query","required":true,"description":"The IDs of the threads","schema":{"type":"string","description":"The IDs of the threads"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/threads-delete-thread-message":{"post":{"operationId":"ecommerce_modrinth_threads_delete_thread_message","summary":"Delete a thread message","description":"DELETE /message/{id}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the message"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/teams-get-project-members":{"get":{"operationId":"ecommerce_modrinth_teams_get_project_members","summary":"Get a project's team members","description":"GET /project/{id|slug}/members","tags":["ecommerce"],"parameters":[{"name":"id|slug","in":"query","required":true,"description":"The ID or slug of the project","schema":{"type":"string","description":"The ID or slug of the project"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/teams-get-team-members":{"get":{"operationId":"ecommerce_modrinth_teams_get_team_members","summary":"Get a team's members","description":"GET /team/{id}/members","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"The ID of the team","schema":{"type":"string","description":"The ID of the team"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/teams-add-user-to-team":{"post":{"operationId":"ecommerce_modrinth_teams_add_user_to_team","summary":"Add a user to a team","description":"POST /team/{id}/members","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the team"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/teams-get-members":{"get":{"operationId":"ecommerce_modrinth_teams_get_members","summary":"Get the members of multiple teams","description":"GET /teams","tags":["ecommerce"],"parameters":[{"name":"ids","in":"query","required":true,"description":"The IDs of the teams","schema":{"type":"string","description":"The IDs of the teams"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/teams-join-team":{"post":{"operationId":"ecommerce_modrinth_teams_join_team","summary":"Join a team","description":"POST /team/{id}/join","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the team"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/teams-modify-member-info":{"post":{"operationId":"ecommerce_modrinth_teams_modify_member_info","summary":"Modify a team member's information","description":"PATCH /team/{id}/members/{id|username}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","id|username"],"properties":{"id":{"type":"string","description":"The ID of the team"},"id|username":{"type":"string","description":"The ID or username of the user"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/teams-remove-member":{"post":{"operationId":"ecommerce_modrinth_teams_remove_member","summary":"Remove a member from a team","description":"DELETE /team/{id}/members/{id|username}","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","id|username"],"properties":{"id":{"type":"string","description":"The ID of the team"},"id|username":{"type":"string","description":"The ID or username of the user"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/teams-transfer-ownership":{"post":{"operationId":"ecommerce_modrinth_teams_transfer_ownership","summary":"Transfer team's ownership to another user","description":"PATCH /team/{id}/owner","tags":["ecommerce"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the team"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/tags-list-categories-with-icons":{"get":{"operationId":"ecommerce_modrinth_tags_list_categories_with_icons","summary":"Get a list of categories","description":"GET /tag/category","tags":["ecommerce"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/tags-get-loader-list":{"get":{"operationId":"ecommerce_modrinth_tags_get_loader_list","summary":"Get a list of loaders","description":"GET /tag/loader","tags":["ecommerce"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/tags-list-game-versions":{"get":{"operationId":"ecommerce_modrinth_tags_list_game_versions","summary":"Get a list of game versions","description":"GET /tag/game_version","tags":["ecommerce"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/tags-get-license-text-title":{"get":{"operationId":"ecommerce_modrinth_tags_get_license_text_title","summary":"Get the text and title of a license","description":"GET /tag/license/{id}","tags":["ecommerce"],"parameters":[{"name":"id","in":"query","required":true,"description":"The license ID to get the text of","schema":{"type":"string","description":"The license ID to get the text of"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/tags-list-donation-platforms":{"get":{"operationId":"ecommerce_modrinth_tags_list_donation_platforms","summary":"Get a list of donation platforms","description":"GET /tag/donation_platform","tags":["ecommerce"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/tags-list-report-types":{"get":{"operationId":"ecommerce_modrinth_tags_list_report_types","summary":"Get a list of report types","description":"GET /tag/report_type","tags":["ecommerce"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/tags-list-project-types":{"get":{"operationId":"ecommerce_modrinth_tags_list_project_types","summary":"Get a list of project types","description":"GET /tag/project_type","tags":["ecommerce"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/tags-list-side-types":{"get":{"operationId":"ecommerce_modrinth_tags_list_side_types","summary":"Get a list of side types","description":"GET /tag/side_type","tags":["ecommerce"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/misc-get-forge-updates-json":{"get":{"operationId":"ecommerce_modrinth_misc_get_forge_updates_json","summary":"Forge Updates JSON file","description":"GET /updates/{id|slug}/forge_updates.json","tags":["ecommerce"],"parameters":[{"name":"id|slug","in":"query","required":true,"description":"The ID or slug of the project","schema":{"type":"string","description":"The ID or slug of the project"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/ecommerce:modrinth/misc-instance-statistics":{"get":{"operationId":"ecommerce_modrinth_misc_instance_statistics","summary":"Various statistics about this Modrinth instance","description":"GET /statistics","tags":["ecommerce"],"parameters":[],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}