Feature: Add new skos endpoints for schemes, collections and SKOS labels#15
Merged
alexskr merged 7 commits intoSep 19, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds new SKOS endpoints to support schemes, collections, and SKOS labels. It also updates tests and helper methods, and adjusts instance and class endpoints to include additional filtering, ordering, and unmapped handling.
- Adds test coverage for new SKOS label, schemes, and collections endpoints.
- Updates instance and class controllers for filtering and pagination.
- Modifies helper methods to support the new endpoints and improves dependency sourcing in the Gemfile.
Reviewed Changes
Copilot reviewed 15 out of 17 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| test/controllers/* | New tests for skos_xl_label, schemes, collections, and instances |
| helpers/* | Added helper methods for schemes, collections, instances, and classes |
| controllers/* | New endpoints and updated logic for SKOS labels, schemes, collections, instances, and classes |
| Gemfile | Updated ontologies_linked_data dependency |
Comments suppressed due to low confidence (1)
controllers/collection_controller.rb:1
- The file is named 'collection_controller.rb', which does not match the declared class name 'CollectionsController'; consider renaming the file to 'collections_controller.rb'.
class CollectionsController < ApplicationController
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requires
Context
This PR add all the required endpoints to use the new SKOS features, see details here: agroportal#24
Changes