{ "openapi": "3.0.0", "info": { "title": "Semiont API", "version": "0.1.0", "description": "Semantic Knowledge Platform API" }, "servers": [ { "url": "http://localhost:4000", "description": "API Server" } ], "paths": { "/api/health": { "$ref": "paths/api_health.json" }, "/api/tokens/password": { "$ref": "paths/api_tokens_password.json" }, "/api/tokens/google": { "$ref": "paths/api_tokens_google.json" }, "/api/tokens/refresh": { "$ref": "paths/api_tokens_refresh.json" }, "/api/tokens/media": { "$ref": "paths/api_tokens_media.json" }, "/api/tokens/agent": { "$ref": "paths/api_tokens_agent.json" }, "/api/users/me": { "$ref": "paths/api_users_me.json" }, "/api/users/accept-terms": { "$ref": "paths/api_users_accept-terms.json" }, "/api/users/logout": { "$ref": "paths/api_users_logout.json" }, "/api/status": { "$ref": "paths/api_status.json" }, "/api/admin/users": { "$ref": "paths/api_admin_users.json" }, "/api/admin/users/stats": { "$ref": "paths/api_admin_users_stats.json" }, "/api/admin/users/{id}": { "$ref": "paths/api_admin_users_{id}.json" }, "/api/admin/oauth/config": { "$ref": "paths/api_admin_oauth_config.json" }, "/api/admin/exchange/backup": { "$ref": "paths/api_admin_exchange_backup.json" }, "/api/admin/exchange/restore": { "$ref": "paths/api_admin_exchange_restore.json" }, "/api/moderate/exchange/export": { "$ref": "paths/api_moderate_exchange_export.json" }, "/api/moderate/exchange/import": { "$ref": "paths/api_moderate_exchange_import.json" }, "/api/cookies/consent": { "$ref": "paths/api_cookies_consent.json" }, "/api/cookies/export": { "$ref": "paths/api_cookies_export.json" }, "/bus/subscribe": { "$ref": "paths/bus_subscribe.json" }, "/bus/emit": { "$ref": "paths/bus_emit.json" }, "/resources": { "$ref": "paths/resources.json" }, "/resources/{id}": { "$ref": "paths/resources_{id}.json" }, "/resources/{id}/anchored-text": { "$ref": "paths/resources_{id}_anchored-text.json" }, "/resources/{id}/jsonld": { "$ref": "paths/resources_{id}_jsonld.json" }, "/api/resources/{id}": { "$ref": "paths/api_resources_{id}.json" } }, "components": { "schemas": { "AcceptTermsResponse": { "$ref": "components/schemas/AcceptTermsResponse.json" }, "AdminUpdateUserResponse": { "$ref": "components/schemas/AdminUpdateUserResponse.json" }, "AdminUserStatsResponse": { "$ref": "components/schemas/AdminUserStatsResponse.json" }, "AdminUsersListResponse": { "$ref": "components/schemas/AdminUsersListResponse.json" }, "Agent": { "$ref": "components/schemas/Agent.json" }, "Annotation": { "$ref": "components/schemas/Annotation.json" }, "AnnotationAddedPayload": { "$ref": "components/schemas/AnnotationAddedPayload.json" }, "AnnotationBody": { "$ref": "components/schemas/AnnotationBody.json" }, "AnnotationBodyUpdatedPayload": { "$ref": "components/schemas/AnnotationBodyUpdatedPayload.json" }, "AnnotationContextResponse": { "$ref": "components/schemas/AnnotationContextResponse.json" }, "AnnotationRemovedPayload": { "$ref": "components/schemas/AnnotationRemovedPayload.json" }, "AnnotationTarget": { "$ref": "components/schemas/AnnotationTarget.json" }, "AuthResponse": { "$ref": "components/schemas/AuthResponse.json" }, "BeckonFocusEvent": { "$ref": "components/schemas/BeckonFocusEvent.json" }, "BeckonHoverEvent": { "$ref": "components/schemas/BeckonHoverEvent.json" }, "BeckonSparkleEvent": { "$ref": "components/schemas/BeckonSparkleEvent.json" }, "BindBodyOperation": { "$ref": "components/schemas/BindBodyOperation.json" }, "BindBodyUpdated": { "$ref": "components/schemas/BindBodyUpdated.json" }, "BindInitiateCommand": { "$ref": "components/schemas/BindInitiateCommand.json" }, "BindUpdateBodyCommand": { "$ref": "components/schemas/BindUpdateBodyCommand.json" }, "BodyOperationAdd": { "$ref": "components/schemas/BodyOperationAdd.json" }, "BodyOperationRemove": { "$ref": "components/schemas/BodyOperationRemove.json" }, "BodyOperationReplace": { "$ref": "components/schemas/BodyOperationReplace.json" }, "BodyPurpose": { "$ref": "components/schemas/BodyPurpose.json" }, "BrowseAgentsRequest": { "$ref": "components/schemas/BrowseAgentsRequest.json" }, "BrowseAgentsResult": { "$ref": "components/schemas/BrowseAgentsResult.json" }, "BrowseAnnotationContextRequest": { "$ref": "components/schemas/BrowseAnnotationContextRequest.json" }, "BrowseAnnotationHistoryRequest": { "$ref": "components/schemas/BrowseAnnotationHistoryRequest.json" }, "BrowseAnnotationHistoryResult": { "$ref": "components/schemas/BrowseAnnotationHistoryResult.json" }, "BrowseAnnotationRequest": { "$ref": "components/schemas/BrowseAnnotationRequest.json" }, "BrowseAnnotationResult": { "$ref": "components/schemas/BrowseAnnotationResult.json" }, "BrowseAnnotationsRequest": { "$ref": "components/schemas/BrowseAnnotationsRequest.json" }, "BrowseAnnotationsResult": { "$ref": "components/schemas/BrowseAnnotationsResult.json" }, "BrowseClickEvent": { "$ref": "components/schemas/BrowseClickEvent.json" }, "BrowseDirectoryRequest": { "$ref": "components/schemas/BrowseDirectoryRequest.json" }, "BrowseDirectoryResult": { "$ref": "components/schemas/BrowseDirectoryResult.json" }, "BrowseEntityTypeClickedEvent": { "$ref": "components/schemas/BrowseEntityTypeClickedEvent.json" }, "BrowseEntityTypesRequest": { "$ref": "components/schemas/BrowseEntityTypesRequest.json" }, "BrowseEntityTypesResult": { "$ref": "components/schemas/BrowseEntityTypesResult.json" }, "BrowseEventsRequest": { "$ref": "components/schemas/BrowseEventsRequest.json" }, "BrowseEventsResult": { "$ref": "components/schemas/BrowseEventsResult.json" }, "BrowseExternalNavigateEvent": { "$ref": "components/schemas/BrowseExternalNavigateEvent.json" }, "BrowseFilesResponse": { "$ref": "components/schemas/BrowseFilesResponse.json" }, "BrowseLinkClickedEvent": { "$ref": "components/schemas/BrowseLinkClickedEvent.json" }, "BrowsePanelOpenEvent": { "$ref": "components/schemas/BrowsePanelOpenEvent.json" }, "BrowsePanelToggleEvent": { "$ref": "components/schemas/BrowsePanelToggleEvent.json" }, "BrowseReferenceNavigateEvent": { "$ref": "components/schemas/BrowseReferenceNavigateEvent.json" }, "BrowseReferencedByRequest": { "$ref": "components/schemas/BrowseReferencedByRequest.json" }, "BrowseReferencedByResult": { "$ref": "components/schemas/BrowseReferencedByResult.json" }, "BrowseResourceCloseEvent": { "$ref": "components/schemas/BrowseResourceCloseEvent.json" }, "BrowseResourceReorderEvent": { "$ref": "components/schemas/BrowseResourceReorderEvent.json" }, "AnchoredText": { "$ref": "components/schemas/AnchoredText.json" }, "PdfTextItem": { "$ref": "components/schemas/PdfTextItem.json" }, "BrowseAnchoredTextRequest": { "$ref": "components/schemas/BrowseAnchoredTextRequest.json" }, "BrowseAnchoredTextResult": { "$ref": "components/schemas/BrowseAnchoredTextResult.json" }, "BrowseResourceRequest": { "$ref": "components/schemas/BrowseResourceRequest.json" }, "BrowseResourceResult": { "$ref": "components/schemas/BrowseResourceResult.json" }, "BrowseResourcesRequest": { "$ref": "components/schemas/BrowseResourcesRequest.json" }, "BrowseResourcesResult": { "$ref": "components/schemas/BrowseResourcesResult.json" }, "BrowseRouterPushEvent": { "$ref": "components/schemas/BrowseRouterPushEvent.json" }, "BrowseTagSchemasRequest": { "$ref": "components/schemas/BrowseTagSchemasRequest.json" }, "BrowseTagSchemasResult": { "$ref": "components/schemas/BrowseTagSchemasResult.json" }, "BusEmitRequest": { "$ref": "components/schemas/BusEmitRequest.json" }, "BusSubscribeRequest": { "$ref": "components/schemas/BusSubscribeRequest.json" }, "CloneResourceWithTokenResponse": { "$ref": "components/schemas/CloneResourceWithTokenResponse.json" }, "CollaboratorEntry": { "$ref": "components/schemas/CollaboratorEntry.json" }, "CommandError": { "$ref": "components/schemas/CommandError.json" }, "ContentFormat": { "$ref": "components/schemas/ContentFormat.json" }, "ContextualSummaryResponse": { "$ref": "components/schemas/ContextualSummaryResponse.json" }, "CookieConsent": { "$ref": "components/schemas/CookieConsent.json" }, "CookieConsentRequest": { "$ref": "components/schemas/CookieConsentRequest.json" }, "CookieConsentResponse": { "$ref": "components/schemas/CookieConsentResponse.json" }, "CookieExportResponse": { "$ref": "components/schemas/CookieExportResponse.json" }, "CreateAnnotationRequest": { "$ref": "components/schemas/CreateAnnotationRequest.json" }, "CreateResourceResponse": { "$ref": "components/schemas/CreateResourceResponse.json" }, "DeleteUserResponse": { "$ref": "components/schemas/DeleteUserResponse.json" }, "DirEntry": { "$ref": "components/schemas/DirEntry.json" }, "DirectoryEntry": { "$ref": "components/schemas/DirectoryEntry.json" }, "DiscoveredKB": { "$ref": "discovery/DiscoveredKB.json" }, "DiscoveryDocument": { "$ref": "discovery/DiscoveryDocument.json" }, "EnrichedResourceEvent": { "$ref": "components/schemas/EnrichedResourceEvent.json" }, "EntityTagChangedPayload": { "$ref": "components/schemas/EntityTagChangedPayload.json" }, "EntityTypeAddedPayload": { "$ref": "components/schemas/EntityTypeAddedPayload.json" }, "ErrorResponse": { "$ref": "components/schemas/ErrorResponse.json" }, "EventMetadata": { "$ref": "components/schemas/EventMetadata.json" }, "EventStreamResponse": { "$ref": "components/schemas/EventStreamResponse.json" }, "FileEntry": { "$ref": "components/schemas/FileEntry.json" }, "FragmentSelector": { "$ref": "components/schemas/FragmentSelector.json" }, "FrameAddEntityTypeCommand": { "$ref": "components/schemas/FrameAddEntityTypeCommand.json" }, "FrameAddTagSchemaCommand": { "$ref": "components/schemas/FrameAddTagSchemaCommand.json" }, "GatherAnnotationComplete": { "$ref": "components/schemas/GatherAnnotationComplete.json" }, "GatherAnnotationOptions": { "$ref": "components/schemas/GatherAnnotationOptions.json" }, "GatherAnnotationRequest": { "$ref": "components/schemas/GatherAnnotationRequest.json" }, "GatherProgress": { "$ref": "components/schemas/GatherProgress.json" }, "GatherResourceComplete": { "$ref": "components/schemas/GatherResourceComplete.json" }, "GatherResourceRequest": { "$ref": "components/schemas/GatherResourceRequest.json" }, "GatherSummaryRequest": { "$ref": "components/schemas/GatherSummaryRequest.json" }, "GatheredContext": { "$ref": "components/schemas/GatheredContext.json" }, "GetAnnotationHistoryResponse": { "$ref": "components/schemas/GetAnnotationHistoryResponse.json" }, "GetAnnotationResponse": { "$ref": "components/schemas/GetAnnotationResponse.json" }, "GetAnnotationsResponse": { "$ref": "components/schemas/GetAnnotationsResponse.json" }, "GetEntityTypesResponse": { "$ref": "components/schemas/GetEntityTypesResponse.json" }, "GetEventsResponse": { "$ref": "components/schemas/GetEventsResponse.json" }, "GetReferencedByResponse": { "$ref": "components/schemas/GetReferencedByResponse.json" }, "GetResourceByTokenResponse": { "$ref": "components/schemas/GetResourceByTokenResponse.json" }, "GetResourceResponse": { "$ref": "components/schemas/GetResourceResponse.json" }, "GetTagSchemasResponse": { "$ref": "components/schemas/GetTagSchemasResponse.json" }, "GoogleAuthRequest": { "$ref": "components/schemas/GoogleAuthRequest.json" }, "HealthResponse": { "$ref": "components/schemas/HealthResponse.json" }, "JobAssessmentAnnotationResult": { "$ref": "components/schemas/JobAssessmentAnnotationResult.json" }, "JobCancelRequest": { "$ref": "components/schemas/JobCancelRequest.json" }, "JobClaimCommand": { "$ref": "components/schemas/JobClaimCommand.json" }, "JobCommentAnnotationResult": { "$ref": "components/schemas/JobCommentAnnotationResult.json" }, "JobCompleteCommand": { "$ref": "components/schemas/JobCompleteCommand.json" }, "JobCompletedPayload": { "$ref": "components/schemas/JobCompletedPayload.json" }, "JobCreateCommand": { "$ref": "components/schemas/JobCreateCommand.json" }, "JobCreatedResult": { "$ref": "components/schemas/JobCreatedResult.json" }, "JobFailCommand": { "$ref": "components/schemas/JobFailCommand.json" }, "JobDeclinedResult": { "$ref": "components/schemas/JobDeclinedResult.json" }, "JobFailedPayload": { "$ref": "components/schemas/JobFailedPayload.json" }, "JobGenerationResult": { "$ref": "components/schemas/JobGenerationResult.json" }, "JobHighlightAnnotationResult": { "$ref": "components/schemas/JobHighlightAnnotationResult.json" }, "JobProgress": { "$ref": "components/schemas/JobProgress.json" }, "JobProgressPayload": { "$ref": "components/schemas/JobProgressPayload.json" }, "JobQueuedEvent": { "$ref": "components/schemas/JobQueuedEvent.json" }, "JobReferenceAnnotationResult": { "$ref": "components/schemas/JobReferenceAnnotationResult.json" }, "JobReportProgressCommand": { "$ref": "components/schemas/JobReportProgressCommand.json" }, "JobResult": { "$ref": "components/schemas/JobResult.json" }, "JobStartCommand": { "$ref": "components/schemas/JobStartCommand.json" }, "JobStartedPayload": { "$ref": "components/schemas/JobStartedPayload.json" }, "JobStatusRequest": { "$ref": "components/schemas/JobStatusRequest.json" }, "JobStatusResponse": { "$ref": "components/schemas/JobStatusResponse.json" }, "JobStatusResult": { "$ref": "components/schemas/JobStatusResult.json" }, "JobTagAnnotationResult": { "$ref": "components/schemas/JobTagAnnotationResult.json" }, "JobType": { "$ref": "components/schemas/JobType.json" }, "KnowledgeGraph": { "$ref": "components/schemas/KnowledgeGraph.json" }, "ListResourcesResponse": { "$ref": "components/schemas/ListResourcesResponse.json" }, "MarkArchiveCommand": { "$ref": "components/schemas/MarkArchiveCommand.json" }, "MarkAssistRequestEvent": { "$ref": "components/schemas/MarkAssistRequestEvent.json" }, "MarkCreateCommand": { "$ref": "components/schemas/MarkCreateCommand.json" }, "MarkCreateOk": { "$ref": "components/schemas/MarkCreateOk.json" }, "MarkCreateRequest": { "$ref": "components/schemas/MarkCreateRequest.json" }, "MarkDeleteCommand": { "$ref": "components/schemas/MarkDeleteCommand.json" }, "MarkDeleteOk": { "$ref": "components/schemas/MarkDeleteOk.json" }, "MarkRequestedEvent": { "$ref": "components/schemas/MarkRequestedEvent.json" }, "MarkSubmitEvent": { "$ref": "components/schemas/MarkSubmitEvent.json" }, "MarkUnarchiveCommand": { "$ref": "components/schemas/MarkUnarchiveCommand.json" }, "MarkUpdateBodyCommand": { "$ref": "components/schemas/MarkUpdateBodyCommand.json" }, "MarkUpdateEntityTypesCommand": { "$ref": "components/schemas/MarkUpdateEntityTypesCommand.json" }, "MatchSearchFailed": { "$ref": "components/schemas/MatchSearchFailed.json" }, "MatchSearchRequest": { "$ref": "components/schemas/MatchSearchRequest.json" }, "MatchSearchResult": { "$ref": "components/schemas/MatchSearchResult.json" }, "MediaTokenRequest": { "$ref": "components/schemas/MediaTokenRequest.json" }, "MediaTokenResponse": { "$ref": "components/schemas/MediaTokenResponse.json" }, "Motivation": { "$ref": "components/schemas/Motivation.json" }, "OAuthConfigResponse": { "$ref": "components/schemas/OAuthConfigResponse.json" }, "PasswordAuthRequest": { "$ref": "components/schemas/PasswordAuthRequest.json" }, "Representation": { "$ref": "components/schemas/Representation.json" }, "RepresentationAddedPayload": { "$ref": "components/schemas/RepresentationAddedPayload.json" }, "RepresentationRemovedPayload": { "$ref": "components/schemas/RepresentationRemovedPayload.json" }, "ResourceArchivedPayload": { "$ref": "components/schemas/ResourceArchivedPayload.json" }, "ResourceClonedPayload": { "$ref": "components/schemas/ResourceClonedPayload.json" }, "ResourceCreatedPayload": { "$ref": "components/schemas/ResourceCreatedPayload.json" }, "ResourceDescriptor": { "$ref": "components/schemas/ResourceDescriptor.json" }, "ResourceMovedPayload": { "$ref": "components/schemas/ResourceMovedPayload.json" }, "ResourceUnarchivedPayload": { "$ref": "components/schemas/ResourceUnarchivedPayload.json" }, "ResourceUpdatedPayload": { "$ref": "components/schemas/ResourceUpdatedPayload.json" }, "ScoredResource": { "$ref": "components/schemas/ScoredResource.json" }, "SelectionData": { "$ref": "components/schemas/SelectionData.json" }, "SemanticMatch": { "$ref": "components/schemas/SemanticMatch.json" }, "SettingsHoverDelayChangedEvent": { "$ref": "components/schemas/SettingsHoverDelayChangedEvent.json" }, "SettingsLocaleChangedEvent": { "$ref": "components/schemas/SettingsLocaleChangedEvent.json" }, "SettingsThemeChangedEvent": { "$ref": "components/schemas/SettingsThemeChangedEvent.json" }, "SpecificResource": { "$ref": "components/schemas/SpecificResource.json" }, "StatusResponse": { "$ref": "components/schemas/StatusResponse.json" }, "StoredEventResponse": { "$ref": "components/schemas/StoredEventResponse.json" }, "SupportedMediaType": { "$ref": "components/schemas/SupportedMediaType.json" }, "SvgSelector": { "$ref": "components/schemas/SvgSelector.json" }, "TagCategory": { "$ref": "components/schemas/TagCategory.json" }, "TagSchema": { "$ref": "components/schemas/TagSchema.json" }, "TagSchemaAddedPayload": { "$ref": "components/schemas/TagSchemaAddedPayload.json" }, "TextPositionSelector": { "$ref": "components/schemas/TextPositionSelector.json" }, "TextQuoteSelector": { "$ref": "components/schemas/TextQuoteSelector.json" }, "TextualBody": { "$ref": "components/schemas/TextualBody.json" }, "TokenRefreshRequest": { "$ref": "components/schemas/TokenRefreshRequest.json" }, "TokenRefreshResponse": { "$ref": "components/schemas/TokenRefreshResponse.json" }, "UpdateAnnotationBodyRequest": { "$ref": "components/schemas/UpdateAnnotationBodyRequest.json" }, "UpdateUserRequest": { "$ref": "components/schemas/UpdateUserRequest.json" }, "UpdateUserResponse": { "$ref": "components/schemas/UpdateUserResponse.json" }, "UserResponse": { "$ref": "components/schemas/UserResponse.json" }, "WeaveRebuildCommand": { "$ref": "components/schemas/WeaveRebuildCommand.json" }, "YieldCloneCreateCommand": { "$ref": "components/schemas/YieldCloneCreateCommand.json" }, "YieldCloneCreated": { "$ref": "components/schemas/YieldCloneCreated.json" }, "YieldCloneResourceRequest": { "$ref": "components/schemas/YieldCloneResourceRequest.json" }, "YieldCloneTokenRequest": { "$ref": "components/schemas/YieldCloneTokenRequest.json" }, "YieldCreateCommand": { "$ref": "components/schemas/YieldCreateCommand.json" }, "YieldCreateOk": { "$ref": "components/schemas/YieldCreateOk.json" }, "YieldMvCommand": { "$ref": "components/schemas/YieldMvCommand.json" }, "YieldUpdateCommand": { "$ref": "components/schemas/YieldUpdateCommand.json" }, "YieldUpdateOk": { "$ref": "components/schemas/YieldUpdateOk.json" } } } }