Skip to content

Add REST API URLs to portals JSON-LD - #30

Open
maboukerfa wants to merge 1 commit into
mainfrom
add-api-url
Open

Add REST API URLs to portals JSON-LD#30
maboukerfa wants to merge 1 commit into
mainfrom
add-api-url

Conversation

@maboukerfa

Copy link
Copy Markdown
Member

Adds an api_url to each portal. The generated portals.json JSON-LD now exposes it as a nested https://schema.org/WebAPI node with schema:url:

"api_url": {
  "@id": "https://data.agroportal.eu",
  "@type": "https://schema.org/WebAPI"
}

Covers the 11 portals that have a public UI; the 4 "coming" entries (LovPortal, HSPortal, CHPortal, SocioPortal) have no link and are skipped.

@maboukerfa

Copy link
Copy Markdown
Member Author

for the property of api_url we can use https://schema.org/url instead of http://data.bioontology.org/metadata/rest_url if we want to stick to schema.org

@maboukerfa
maboukerfa requested a review from jonquet July 28, 2026 08:37
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.

1 participant