Skip to content

Implement LBP1 Beta endpoints#956

Merged
jvyden merged 8 commits intoLittleBigRefresh:mainfrom
Toastbrot236:lbp1-beta
Oct 16, 2025
Merged

Implement LBP1 Beta endpoints#956
jvyden merged 8 commits intoLittleBigRefresh:mainfrom
Toastbrot236:lbp1-beta

Conversation

@Toastbrot236
Copy link
Contributor

Implements endpoints and endpoint routes unique to the recently released LBP1 beta build and gives slightly more freedom to beta builds in general (include level tags, accept grief reports and don't filter out story levels from technically different games for beta builds). Also includes some custom tags for the LBP1 beta.

{ "TAG_Electric", Tag.Electric },

// Custom tags for LBP1 beta builds, as those don't have any hardcoded tags and instead
// use the /tags endpoint and slot responses to discover and show tags (including arbitrary ones)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to finally have an answer for this endpoint.

// The syntax error in the query params (& instead of ?) makes Bunkum include them as part of the ID route param
[GameEndpoint("slots/like/{slotType}/{id}", ContentType.Xml)]
[MinimumRole(GameUserRole.Restricted)]
public Response GetLevelsLikeLevel(RequestContext context, DataContext dataContext, GameUser user, string slotType, string id)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems useful. In the future we could move this logic to the database and have a recommendation algorithm on level pages on the website.

@jvyden jvyden merged commit e46f0dd into LittleBigRefresh:main Oct 16, 2025
3 checks passed
@Toastbrot236 Toastbrot236 deleted the lbp1-beta branch October 18, 2025 18:53
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

Successfully merging this pull request may close these issues.

3 participants