{"source":"nva","operation":"search_publications","description":"Search Norwegian research publications in NVA.","parameters":[{"name":"query","schema":{"type":"string"},"required":true,"default":null,"description":"Words from title, abstract, contributor or other indexed fields."},{"name":"institution","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional institution name, acronym or NVA organization id."},{"name":"contributor","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional contributor name."},{"name":"year","schema":{"anyOf":[{"type":"integer"},{"type":"null"}]},"required":false,"default":null,"description":"Optional four-digit publication year."},{"name":"category","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional NVA publication-instance type, such as AcademicArticle, AcademicMonograph or DoctoralDissertation."},{"name":"has_open_file","schema":{"anyOf":[{"type":"boolean"},{"type":"null"}]},"required":false,"default":null,"description":"True for publications with an openly available file."},{"name":"funding_identifier","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional grant/project identifier, e.g. an NFR id."},{"name":"limit","schema":{"type":"integer"},"required":false,"default":10,"description":"Results to return, 1-100."},{"name":"offset","schema":{"type":"integer"},"required":false,"default":0,"description":"Results to skip, for pagination."}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/nva/search_publications?query={query}&institution={institution}&contributor={contributor}&year={year}&category={category}&has_open_file={has_open_file}&funding_identifier={funding_identifier}&limit=10&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"query":{"type":"string"},"total":{"type":"integer"},"offset":{"type":"integer"},"returned":{"type":"integer"},"publications":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"title":{"type":["string","null"]},"year":{"type":["string","null"]},"publication_type":{"type":["string","null"]},"publication_channel":{"type":["string","null"]},"doi":{"type":["string","null"],"format":"uri"},"status":{"type":["string","null"]},"authors":{"type":"array","items":{"type":"string"}},"contributor_count":{"type":["integer","null"]},"has_open_file":{"type":"boolean"},"api_url":{"type":["string","null"],"format":"uri"}},"additionalProperties":false}}},"additionalProperties":false,"required":["query","total","offset","returned","publications"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"intentionally_none","entity_types":[],"description":"No stable cross-source entity projection is defined for this operation; entities is intentionally empty."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"502":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/nva/search_publications/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/nva/search_publications","source":"https://allemannsdata.com/wiki/api/v1/kilder/nva","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["query","total","offset","returned","publications","publications[].id","publications[].title","publications[].year","publications[].publication_type","publications[].publication_channel","publications[].doi","publications[].status","publications[].authors","publications[].contributor_count","publications[].has_open_file","publications[].api_url"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["publications[].id"],"name":["publications[].title"]},"response_example":{"source":"nva","operation":"search_publications","parameters":{"query":"example value","institution":"example value","contributor":"example value","year":1,"category":"example value","has_open_file":true,"funding_identifier":"example value","limit":10,"offset":0},"data":{"query":"example value","total":1,"offset":1,"returned":1,"publications":[{"id":"example-id","title":"Example","year":"example value","publication_type":"example value","publication_channel":"example value","doi":"https://example.invalid/resource","status":"example value","authors":["example value"],"contributor_count":1,"has_open_file":true,"api_url":"https://example.invalid/resource"}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"nva","name":"Norwegian Research Information Repository (NVA)","description":"Research publications, open files, Cristin projects and Norwegian research organizations.","cache_ttl_seconds":300,"documentation":"https://swagger-ui.nva.unit.no/"}]},"_provenance":{"data":{"source":"nva","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/nva"},"entities":{"source":"nva","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/nva","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/nva/search_publications","source":"https://allemannsdata.com/wiki/api/v1/kilder/nva","wiki":"https://allemannsdata.com/wiki/kilder/nva/search_publications/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
