The resource path of the asset quota.
Format: users/{user_id}/asset-quotas/{asset_quota_id}.
Represents a quota for an asset-related action.
For example, a user might be able to upload 100 audio files per month and have uploaded 15 already. In this example:
The resource path of the asset quota.
Format: users/{user_id}/asset-quotas/{asset_quota_id}.
Type of quota.
Possible values:
Value | Description |
---|---|
QUOTA_TYPE_UNSPECIFIED | The default quota type. |
RATE_LIMIT_UPLOAD | Rate limit on how often one can upload an asset. |
RATE_LIMIT_CREATOR_STORE_DISTRIBUTE | Rate limit on how often one can distribute an asset on the Creator Store. |
The asset type the quota is for.
Possible values:
Value | Description |
---|---|
ASSET_TYPE_UNSPECIFIED | The default asset type. |
IMAGE | Image |
TSHIRT | Tshirt |
AUDIO | Audio |
MESH | Mesh |
LUA | Lua |
HAT | Hat |
PLACE | Place |
MODEL | Model |
SHIRT | Classic Shirt |
PANTS | Classic Pants |
DECAL | Decal |
HEAD | Head |
FACE | Face |
GEAR | Gear |
ANIMATION | Animation |
TORSO | Torso |
RIGHT_ARM | Right Arm |
LEFT_ARM | Left Arm |
LEFT_LEG | Left Leg |
RIGHT_LEG | Right Leg |
YOUTUBE_VIDEO | YouTube Video |
APP | App |
CODE | Code |
PLUGIN | Plugin |
SOLID_MODEL | Solid Model |
MESH_PART | Mesh Part |
HAIR_ACCESSORY | Hair Accessory |
FACE_ACCESSORY | Face Accessory |
NECK_ACCESSORY | Neck Accessory |
SHOULDER_ACCESSORY | Shoulder Accessory |
FRONT_ACCESSORY | Front Accessory |
BACK_ACCESSORY | Back Accessory |
WAIST_ACCESSORY | Waist Accessory |
CLIMB_ANIMATION | Climb Animation |
DEATH_ANIMATION | Death Animation |
FALL_ANIMATION | Fall Animation |
IDLE_ANIMATION | Idle Animation |
JUMP_ANIMATION | Jump Animation |
RUN_ANIMATION | Run Animation |
SWIM_ANIMATION | Swim Animation |
WALK_ANIMATION | Walk Animation |
POSE_ANIMATION | Pose Animation |
LOCALIZATION_TABLE_MANIFEST | Localization Table Manifest |
LOCALIZATION_TABLE_TRANSLATION | Localization Table Translation |
EMOTE_ANIMATION | Emote Animation |
VIDEO | Video |
TEXTURE_PACK | Texture Pack |
TSHIRT_ACCESSORY | Tshirt Accessory |
SHIRT_ACCESSORY | Shirt Accessory |
PANTS_ACCESSORY | Pants Accessory |
JACKET_ACCESSORY | Jacket Accessory |
SWEATER_ACCESSORY | Sweater Accessory |
SHORTS_ACCESSORY | Shorts Accessory |
LEFT_SHOE_ACCESSORY | Left Shoe Accessory |
RIGHT_SHOE_ACCESSORY | Right Shoe Accessory |
DRESS_SKIRT_ACCESSORY | Dress Skirt Accessory |
FONT_FAMILY | Font Family |
FONT_FACE | Font Face |
MESH_HIDDEN_SURFACE_REMOVAL | Mesh Hidden Surface Removal |
EYEBROW_ACCESSORY | Eyebrow Accessory |
EYELASH_ACCESSORY | Eyelash Accessory |
MOOD_ANIMATION | Mood Animation |
DYNAMIC_HEAD | Dynamic Head |
CODE_SNIPPET | Code Snippet |
ADS_VIDEO | Ads Video |
The current usage of the quota.
The capacity of the quota.
The period of time the quota is for.
Possible values:
Value | Description |
---|---|
PERIOD_UNSPECIFIED | The default period, which is invalid. Specify another value. |
MONTH | Month |
DAY | Day |
The time the usage will reset for this quota. This string is formatted as a Timestamp.
https://apis.roblox.com
{
"path": "users/123/asset-quotas/some-asset-quota",
"quotaType": "QUOTA_TYPE_UNSPECIFIED",
"assetType": "ASSET_TYPE_UNSPECIFIED",
"usage": "integer",
"capacity": "integer",
"period": "PERIOD_UNSPECIFIED",
"usageResetTime": "2023-07-05T12:34:56Z"
}
Returns a list of asset quotas.
The user ID.
The maximum number of asset quotas to return. The service might return fewer than this value. If unspecified, at most 10 asset quotas are returned. The maximum value is 100 and higher values are set to 100.
A page token, received from a previous call, to retrieve a subsequent page.
When paginating, all other parameters provided to the subsequent call must match the call that provided the page token.
This field may be set in order to filter the resources returned.
Supports the following subset of CEL:
For example: quotaType == RateLimitUpload && assetType == Audio.
A list of AssetQuotas in the parent collection.
The AssetQuotas from the specified User.
A token that you can send as a pageToken parameter to retrieve the next page. If this field is omitted, there are no subsequent pages.
curl -L -X GET 'https://apis.roblox.com/cloud/v2/users/{user_id}/asset-quotas?maxPageSize=10&pageToken={string}&filter={string}' \
-H 'x-api-key: {your-api-key}'
{
"assetQuotas": [
{
"path": "users/123/asset-quotas/some-asset-quota",
"quotaType": "QUOTA_TYPE_UNSPECIFIED",
"assetType": "ASSET_TYPE_UNSPECIFIED",
"usage": "integer",
"capacity": "integer",
"period": "PERIOD_UNSPECIFIED",
"usageResetTime": "2023-07-05T12:34:56Z"
}
],
"nextPageToken": "string"
}