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

Expose URLs of resources via API #787

Closed
Nakaner opened this issue Sep 26, 2019 · 3 comments

Comments

@Nakaner
Copy link
Contributor

commented Sep 26, 2019

Problem you are facing

We (State of the Map 2019) use our schedule renderer to build the programme for the website (table and detail pages) because we prefer a different layout than the one provided by Pretalx. The renderer uses various endpoints of the Pretalx API. Unfortunately, the API does not expose resources (the file uploads) which are useful to attach slides to the talks after the conference.

I would like to get URLs to download the resources using an API call.

Possible Solution

There are two possible solutions. I prefer the first option because it is simpler but it does not matter whether I add another API call in my toolchain or not.

  • extend /talks endpoint
  • add new /resources endpoint

@rixx What do you prefer?

@rixx

This comment has been minimized.

Copy link
Member

commented Sep 26, 2019

I'm always very hesitant to extend the /talks/ endpoint – it's bloated and slow already, to my feeling. But I would agree that adding another endpoint wouldn't make a lot of sense here, and would only be frustrating to API clients.

@rixx

This comment has been minimized.

Copy link
Member

commented Sep 26, 2019

For reference: The argument for the /talks/ endpoint applies mostly because it is often used in its list form, or via the /schedule view even, and I'm torn between its convenience and it's speed.

@rixx rixx closed this in 8c78703 Sep 26, 2019
@rixx

This comment has been minimized.

Copy link
Member

commented Sep 26, 2019

developed
tested
documented
deployed on pretalx.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.