Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Add gh Actions cron job to approve new member requests on Spond #132

Open
pavelskipenes opened this issue Feb 14, 2022 · 1 comment
Open
Labels
API CI/CD Continuous Integration and Continuous Deployment enhancement New feature or request

Comments

@pavelskipenes
Copy link
Collaborator

Getting information about a group (including membership requests): GET https://spond.com/api/2.1/group/GROUP_ID
Approving membership requests: POST https://spond.com/api/2.1/group/GROUP_ID/membershipRequest/REQUEST_ID/approve
API endpoint needs authentication. Create a new bot user to the group as admin.

Spond API is not documented so here are other implementations for reference:

@pavelskipenes pavelskipenes added enhancement New feature or request API CI/CD Continuous Integration and Continuous Deployment labels Feb 14, 2022
@pavelskipenes pavelskipenes self-assigned this Feb 14, 2022
@pavelskipenes
Copy link
Collaborator Author

pavelskipenes commented Feb 15, 2022

POST https://spond.com/api/2.1/group/GROUP_ID/members with payload:

[
    {
        "id":"USER_ID",
        "subGroups": [
            "SUBGROUP_ID",
            "SUBGROUP_ID"
        ]
    }
]

constants for this project / note to self:

GROUP_ID: 683683854E1E4A24ACE812F439363128
SUBGROUP_ID:
Arrangement: 7964AB3FB59F45D2AFB6DD546A8EFE50
Medlemmer 2022: A16BF00C60C743C0A72F1AE818896189

@pavelskipenes pavelskipenes removed their assignment Jan 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API CI/CD Continuous Integration and Continuous Deployment enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant