Skip to content
Snippets Groups Projects

GREG-318: Fix endpoints

Merged Marte Fossum requested to merge GREG-318-improve-endpoint-SponsorOrgUnit into master
All threads resolved!

Changed the endpoint POST /api/v1/sponsors/{sponsor_id}/orgunit/{orgunit_id}. It should now create or update a SponsorOrganizationalUnit and not an OrganizationalUnit.
Made the endpoints
GET /api/v1/sponsors/{sponsor_id}/orgunit/{orgunit_id} which gets a SponsorOrganizationalUnit
and
GET /api/v1/sponsors/{sponsor_id}/orgunits which lists all SponsorOrganizationalUnit connected to the sponsor

Edited by Marte Fossum

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Marte Fossum added 1 commit

    added 1 commit

    • f9139ae0 - Move serializer from greg to gregui

    Compare with previous version

  • Marte Fossum added 1 commit

    added 1 commit

    • 1b37d96b - Move serializer from greg to gregui

    Compare with previous version

  • Jonas Braathen approved this merge request

    approved this merge request

  • Marte Fossum resolved all threads

    resolved all threads

  • Marte Fossum mentioned in commit 932520f9

    mentioned in commit 932520f9

  • merged

  • Please register or sign in to reply
    Loading