Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sushilshinde opened this issue Nov 1, 2017 · 1 comment
Assignees

Comments

@sushilshinde
Copy link
Contributor

sushilshinde commented Nov 1, 2017

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

UI Change

spec_new

@sushilshinde
Copy link
Contributor Author

sushilshinde commented Nov 1, 2017

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"
}

@sushilshinde sushilshinde self-assigned this Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant