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

BO16 - Create a DAL function to list all Sponsorship levels and Sponsors #181

Open
gregoriopalama opened this issue Apr 17, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed task This is a Task. Contributors can work on this

Comments

@gregoriopalama
Copy link
Member

gregoriopalama commented Apr 17, 2024

Add a DAL function in the Sponsorship API.

The response will be a list of partnership levels and partners, as for the example below. Use the example as a reference for a level's and a partner's structure.

[
    {
        "id": "ID",
        "name": "Main Sponsor",
        "position": 0,
        "partners": [
            {
                "id": "ID",
                "name": "Google",
                "logo": "LINK TO THE LOGO",
                "position": 0,
                "link": "https://www.google.com"
            }
        ]
    },
    {
        "id": "ID",
        "name": "Community Partner",
        "position": 1,
        "partners": [
            {
               "id:"ID",
                "name": "GDG Pescara",
                "logo": "LINK TO THE LOGO",
                "position": 0,
                "link": "https://www.gdgpescara.it"
            }
        ]
    }
]

The function should support pagination, providing informations in the response and handling pagination request. The paginations should be only on Sponsorship levels: all the sponsors in the single level will be listed.

@gregoriopalama gregoriopalama converted this from a draft issue Apr 17, 2024
@gregoriopalama gregoriopalama moved this from Backlog to Ready in Hedwig Apr 17, 2024
@gregoriopalama gregoriopalama added good first issue Good for newcomers help wanted Extra attention is needed task This is a Task. Contributors can work on this labels Apr 17, 2024
@gregoriopalama gregoriopalama changed the title BO16 - Create an endpoint to list all Sponsorship levels and Sponsors BO16 - Create a DAL function to list all Sponsorship levels and Sponsors Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed task This is a Task. Contributors can work on this
Projects
Status: Ready
Development

No branches or pull requests

1 participant