Get List of earned badges

This API provides a list of badges earned by the requesting user if they are not an application producer. However, if the requesting user is an application producer, the API will return the badges owned by profiles in the entire application.

get/earned-badges/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1
  • URL
    https://cf-blast.livelikecdn.com/api/v1/earned-badges/
  • Auth
    none required

Query parameters

profile_idstring
badge_idstring
reward_item_idstring

Filter badges associated with the specified reward item.

Headers

Authorizationstring required

Bearer Token

Response

200

countinteger
nextunknown
previousunknown

Example response

{
  "count": 15,
  "results": [
    {
      "id": "c21ed9a2-755f-46ab-ace9-4223f813f568",
      "url": "https://cf-blast.livelikecdn.com/api/v1/earned-badges/c21ed9a2-755f-46ab-ace9-4223f813f568/",
      "badge_id": "6e919fba-32c0-4c78-a458-ea83345ce939",
      "awarded_at": "2022-11-17T07:48:25.353399Z",
      "profile": {
        "id": "f7a1c71b-d34c-4a53-8a5a-af28824d4a2a",
        "url": "https://cf-blast.livelikecdn.com/api/v1/profiles/f7a1c71b-d34c-4a53-8a5a-af28824d4a2a/",
        "created_at": "2022-11-16T10:02:43Z",
        "nickname": "Mega Moose",
        "badges_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/f7a1c71b-d34c-4a53-8a5a-af28824d4a2a/badges/",
        "badge_progress_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/f7a1c71b-d34c-4a53-8a5a-af28824d4a2a/badge-progress/",
        "subscribe_channel": "profile.f7a1c71b-d34c-4a53-8a5a-af28824d4a2a",
        "chat_room_memberships_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/f7a1c71b-d34c-4a53-8a5a-af28824d4a2a/chat-room-memberships/",
        "reward_item_credit_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/f7a1c71b-d34c-4a53-8a5a-af28824d4a2a/reward-item-credits/",
        "reward_item_debit_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/f7a1c71b-d34c-4a53-8a5a-af28824d4a2a/reward-item-debits/",
        "reward_item_balances_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/f7a1c71b-d34c-4a53-8a5a-af28824d4a2a/reward-item-balances/",
        "reward_item_transfer_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/f7a1c71b-d34c-4a53-8a5a-af28824d4a2a/reward-item-transfers/",
        "block_profile_url": "https://cf-blast.livelikecdn.com/api/v1/profile-blocks/",
        "blocked_profiles_template_url": "https://cf-blast.livelikecdn.com/api/v1/profile-blocks/?blocked_profile_id={blocked_profile_id}",
        "blocked_profile_ids_url": "https://cf-blast.livelikecdn.com/api/v1/blocked-profile-ids/",
        "leaderboards_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/f7a1c71b-d34c-4a53-8a5a-af28824d4a2a/leaderboards/",
        "leaderboard_views_url": "https://cf-blast.livelikecdn.com/api/v1/profiles/f7a1c71b-d34c-4a53-8a5a-af28824d4a2a/leaderboard-views/",
        "earned_badges_url": "https://cf-blast.livelikecdn.com/api/v1/earned-badges/?profile_id=f7a1c71b-d34c-4a53-8a5a-af28824d4a2a"
      },
      "badge": {
        "id": "6e919fba-32c0-4c78-a458-ea83345ce939",
        "client_id": "lom9db0XtQUhOZQq1vz8QPfSpiyyxppiUVGMcAje",
        "name": "b1",
        "badge_icon_url": "https://cf-blast-storage.livelikecdn.com/assets/062d4434-332c-4a93-95c1-ada39c626884.jpg",
        "mimetype": "application/octet-stream",
        "file": "https://cf-blast-storage.livelikecdn.com/assets/062d4434-332c-4a93-95c1-ada39c626884.jpg"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.