Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Add community subscribe/unsubscribe section on the profile settings page #1243

Open
@sushilshinde

Description

@sushilshinde
Contributor

Simillar to skill picker but editable, add communities panel on profile settings page

UI Change

spec_new

Activity

sushilshinde

sushilshinde commented on Nov 1, 2017

@sushilshinde
ContributorAuthor

API Details

  1. Congitive, iOS and Predix member subscriptions happens via memberCerts/registrations API (legacy).
  2. Blockchain subscriptions happens via groups API

Refer to skills picker code for details(it has add only implementation, edit is not implemented here)

Edit API
There is no update endpoint for in these APIs, use DELETE endpoint for unsubscribe user

  1. For memberCerts/registrations API, use
    DELETE https://api.topcoder-dev.com/v3/memberCert/registrations/{userId}/programs/{programId}/
    DELETE is not working currently, issue is open

  2. For groups API, use
    DELETE https://api.topcoder-dev.com/v3/groups/{programId}/members/{membershipId}/
    use "id" as "membershipId" from GET response

{
        "id": "480",
        "modifiedBy": null,
        "modifiedAt": null,
        "createdBy": "40153832",
        "createdAt": "2017-09-13T14:38:42.000Z",
        "groupId": 20000010,
        "groupName": null,
        "memberId": 40153832,
        "membershipType": "user"
}
self-assigned this
on Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @sushilshinde

      Issue actions

        Add community subscribe/unsubscribe section on the profile settings page · Issue #1243 · topcoder-archive/appirio_tech-topcoder-app