{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"DSS Public API","description":"Developer documentation for the Digital Sea Service Public API.","colors":{"primary":"#137fec","light":"#6bb3f7","dark":"#0a0f1d"},"logo":{"light":"https://mintcdn.com/digital-sea-service/FPUF6X1hT-DnsQjt/images/logo-light.png?fit=max\u0026auto=format\u0026n=FPUF6X1hT-DnsQjt\u0026q=85\u0026s=0af14ba1d3a2ade74e9d47a208017f5b","dark":"https://mintcdn.com/digital-sea-service/FPUF6X1hT-DnsQjt/images/logo-dark.png?fit=max\u0026auto=format\u0026n=FPUF6X1hT-DnsQjt\u0026q=85\u0026s=0aa90b92254ca5daa950a7fe3b193816","href":"https://digitalseaservice.com"},"favicon":"https://mintcdn.com/digital-sea-service/FPUF6X1hT-DnsQjt/images/favicon.png?fit=max\u0026auto=format\u0026n=FPUF6X1hT-DnsQjt\u0026q=85\u0026s=bdae03ec197ac1633df64b853fd67b4b","api":{"openapi":["api-reference/openapi.json"],"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":["https://api.digitalseaservice.com","https://api.dev.digitalseaservice.com"]}},"appearance":{"default":"system"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://app.digitalseaservice.com","label":"Dashboard"}],"primary":{"type":"button","label":"Become a partner","href":"mailto:admin@digitalseaservice.com"}},"footer":{"socials":{"website":"https://digitalseaservice.com"}},"search":{"prompt":"Search the DSS API docs..."},"seo":{"metatags":{"og:site_name":"DSS Public API"},"indexing":"all"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"digital-sea-service","hasAudioNarration":false,"actualSubdomain":"digital-sea-service","customDomains":["docs.digitalseaservice.com"],"gitSource":{"type":"github","owner":"digitalseaservice","repo":"dss-public-api","deployBranch":"production","contentDirectory":"docs/site","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ac27b7bd09d5486dbf35771","collectionId":"6de9a77e-94df-4862-9b72-953ee880171f","liveDeploymentHistoryId":"6ac27b7bd09d5486dbf35771","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ade1ce6d2e4fef472e06a52","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Guides","count":30},{"language":"default","tag":"API reference","count":21},{"language":"default","tag":"Endpoints","count":20},{"language":"default","tag":"Partner sponsorships (restricted)","count":11},{"language":"default","tag":"Errors","count":10},{"language":"default","tag":"partners","count":7},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"oauth","count":5},{"language":"default","tag":"Webhooks","count":3},{"language":"default","tag":"calendar","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar","slug":"/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar","pageMetadata":{"title":"Set official sea-service days on a vessel calendar","description":"Vessel admin only. Saved days follow the website calendar, including AIS.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/me/vessels/{vessel_id}/calendar","href":"/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Vessel admin only. Saved days follow the website calendar, including AIS.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Set official sea-service days on a vessel calendar","description":"Vessel admin only. Saved days follow the website calendar, including AIS.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/me/vessels/{vessel_id}/calendar","href":"/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["calendar"],"summary":"Set official sea-service days on a vessel calendar","description":"Vessel admin only. Saved days follow the website calendar, including AIS.","operationId":"put_vessel_calendar_v1_me_vessels__vessel_id__calendar_put","parameters":["2b933a01-137d-4512-91c1-c1b507c7ab19"],"requestBody":"0fef64f4-64b5-425b-ae67-8fdc423fe260","responses":{"200":"5e01cf08-b6a2-4792-8d38-b51565f1e477","400":"c1ac8813-5346-49d1-bb42-4116f331bc79","401":"f1cfbde8-4759-4c68-a28e-8f5ceeaf88cc","403":"f2d98414-25d2-40f9-930c-fb1232f659a6","422":"1527b172-eb4a-4348-b461-4f54d2ba9ae0","429":"0a4f211d-84d2-48d1-84db-c638b3403038","500":"19630c7b-7f5d-4719-9060-990d2b946163"},"security":["cacdda8a-39b9-4cf4-976d-53234eda2b77","3e2f09bf-38a0-4507-ba0c-36b445b7d045"],"method":"put","type":"path","servers":["4bf7af7a-4691-4d8e-b8d1-6343495946d4","7b5fb4ab-128a-4895-bce9-dc8aed12fed4"],"path":"/v1/me/vessels/{vessel_id}/calendar","baseUrlOptions":["https://api.digitalseaservice.com","https://api.dev.digitalseaservice.com"],"title":"Set official sea-service days on a vessel calendar","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"2b933a01-137d-4512-91c1-c1b507c7ab19":{"name":"vessel_id","in":"path","required":true,"schema":{"type":"string","title":"Vessel Id","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"entries":{"items":{"properties":{"date":{"type":"string","title":"Date","isRequired":true,"uniqueKey":"entries.items.[INDEX].date","typeLabel":"string"},"day_type":{"type":"string","enum":["Sea","Standby","Yard","Port","Watchkeeping"],"title":"Day Type","isRequired":true,"uniqueKey":"entries.items.[INDEX].day_type","typeLabel":"enum\u003cstring>"},"notes":{"oneOf":[{"type":"string","title":"Notes","maxLength":2000,"uniqueKey":"entries.items.[INDEX].notes.oneOf.0","typeLabel":"string"},{"type":"null","title":"Notes","uniqueKey":"entries.items.[INDEX].notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"entries.items.[INDEX].notes","typeLabel":"string | null"}},"type":"object","required":["date","day_type"],"title":"CalendarEntryIn","uniqueKey":"entries.items.[INDEX]","typeLabel":"CalendarEntryIn · object"},"type":"array","maxItems":400,"minItems":1,"title":"Entries","isRequired":true,"uniqueKey":"entries","typeLabel":"CalendarEntryIn · object[]"}},"type":"object","required":["entries"],"title":"CalendarWriteRequest","uniqueKey":"","typeLabel":"CalendarWriteRequest · object"},"examples":{"Example":{"title":"Example","value":{"entries":[{"date":"\u003cstring>","notes":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5e01cf08-b6a2-4792-8d38-b51565f1e477":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"ok":{"type":"boolean","title":"Ok","isRequired":true,"uniqueKey":"ok","typeLabel":"boolean"},"count":{"type":"integer","title":"Count","isRequired":true,"uniqueKey":"count","typeLabel":"integer"},"entries":{"items":{"properties":{"date":{"type":"string","title":"Date","isRequired":true,"uniqueKey":"entries.items.[INDEX].date","typeLabel":"string"},"day_type":{"type":"string","title":"Day Type","isRequired":true,"uniqueKey":"entries.items.[INDEX].day_type","typeLabel":"string"},"notes":{"type":"string","title":"Notes","default":"","uniqueKey":"entries.items.[INDEX].notes","typeLabel":"string"},"source":{"oneOf":[{"type":"string","title":"Source","description":"`ais` when premium tracking filled the day, `manual` when someone set it.","uniqueKey":"entries.items.[INDEX].source.oneOf.0","typeLabel":"string"},{"type":"null","title":"Source","description":"`ais` when premium tracking filled the day, `manual` when someone set it.","uniqueKey":"entries.items.[INDEX].source.oneOf.1","typeLabel":"null"}],"uniqueKey":"entries.items.[INDEX].source","typeLabel":"string | null"},"ais_day_type":{"oneOf":[{"type":"string","title":"Ais Day Type","description":"AIS classification for this date when tracking has one.","uniqueKey":"entries.items.[INDEX].ais_day_type.oneOf.0","typeLabel":"string"},{"type":"null","title":"Ais Day Type","description":"AIS classification for this date when tracking has one.","uniqueKey":"entries.items.[INDEX].ais_day_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"entries.items.[INDEX].ais_day_type","typeLabel":"string | null"},"conflict":{"type":"boolean","title":"Conflict","default":false,"uniqueKey":"entries.items.[INDEX].conflict","typeLabel":"boolean"}},"type":"object","required":["date","day_type"],"title":"CalendarDay","description":"One official vessel-calendar day.","example":{"ais_day_type":"Sea","conflict":false,"date":"2026-04-01","day_type":"Sea","notes":"","source":"ais"},"uniqueKey":"entries.items.[INDEX]","typeLabel":"CalendarDay · object"},"type":"array","title":"Entries","isRequired":true,"uniqueKey":"entries","typeLabel":"CalendarDay · object[]"}},"type":"object","required":["ok","count","entries"],"title":"CalendarWriteResponse","uniqueKey":"","typeLabel":"CalendarWriteResponse · object"},"examples":{"Example":{"title":"Example","value":{"ok":true,"count":123,"entries":[{"ais_day_type":"Sea","conflict":false,"date":"2026-04-01","day_type":"Sea","notes":"","source":"ais"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"c1ac8813-5346-49d1-bb42-4116f331bc79":{"description":"`invalid_request` — a query parameter (e.g. cursor) was malformed.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details. Returned with the `application/problem+json` content type on every resource (`/v1/*`) error.","properties":{"type":{"type":"string","format":"uri","description":"Stable URL identifying the error type; resolves to its docs page.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"Short, human-readable summary of the error type.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"Explanation specific to this occurrence.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Request correlation id; matches the `X-Request-Id` header.","isRequired":true,"uniqueKey":"instance","typeLabel":"string"}},"required":["type","title","status","detail","instance"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f1cfbde8-4759-4c68-a28e-8f5ceeaf88cc":{"description":"`invalid_token` — bearer token missing, malformed, expired, or revoked.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details. Returned with the `application/problem+json` content type on every resource (`/v1/*`) error.","properties":{"type":{"type":"string","format":"uri","description":"Stable URL identifying the error type; resolves to its docs page.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"Short, human-readable summary of the error type.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"Explanation specific to this occurrence.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Request correlation id; matches the `X-Request-Id` header.","isRequired":true,"uniqueKey":"instance","typeLabel":"string"}},"required":["type","title","status","detail","instance"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f2d98414-25d2-40f9-930c-fb1232f659a6":{"description":"`insufficient_scope` — the token lacks the required scope.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details. Returned with the `application/problem+json` content type on every resource (`/v1/*`) error.","properties":{"type":{"type":"string","format":"uri","description":"Stable URL identifying the error type; resolves to its docs page.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"Short, human-readable summary of the error type.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"Explanation specific to this occurrence.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Request correlation id; matches the `X-Request-Id` header.","isRequired":true,"uniqueKey":"instance","typeLabel":"string"}},"required":["type","title","status","detail","instance"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1527b172-eb4a-4348-b461-4f54d2ba9ae0":{"description":"`invalid_request` — request validation failed; see the `errors` array.","content":{"application/problem+json":{"schema":{"type":"object","description":"Problem Details for a 422, carrying a per-field `errors` array.","required":["type","title","status","detail","instance"],"properties":{"type":{"type":"string","format":"uri","description":"Stable URL identifying the error type; resolves to its docs page.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"Short, human-readable summary of the error type.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"Explanation specific to this occurrence.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Request correlation id; matches the `X-Request-Id` header.","isRequired":true,"uniqueKey":"instance","typeLabel":"string"},"errors":{"type":"array","description":"One entry per field that failed validation.","items":{"type":"object","additionalProperties":true,"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>","errors":[{}]}}},"exampleType":"generated"}},"exampleType":"generated"},"0a4f211d-84d2-48d1-84db-c638b3403038":{"description":"`rate_limit_exceeded` — per-client request budget exhausted.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details. Returned with the `application/problem+json` content type on every resource (`/v1/*`) error.","properties":{"type":{"type":"string","format":"uri","description":"Stable URL identifying the error type; resolves to its docs page.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"Short, human-readable summary of the error type.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"Explanation specific to this occurrence.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Request correlation id; matches the `X-Request-Id` header.","isRequired":true,"uniqueKey":"instance","typeLabel":"string"}},"required":["type","title","status","detail","instance"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"19630c7b-7f5d-4719-9060-990d2b946163":{"description":"`internal_error` — an unexpected error occurred; reference `instance`.","content":{"application/problem+json":{"schema":{"type":"object","description":"RFC 7807 Problem Details. Returned with the `application/problem+json` content type on every resource (`/v1/*`) error.","properties":{"type":{"type":"string","format":"uri","description":"Stable URL identifying the error type; resolves to its docs page.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"Short, human-readable summary of the error type.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"Explanation specific to this occurrence.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"instance":{"type":"string","description":"Request correlation id; matches the `X-Request-Id` header.","isRequired":true,"uniqueKey":"instance","typeLabel":"string"}},"required":["type","title","status","detail","instance"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"detail":"\u003cstring>","instance":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"cacdda8a-39b9-4cf4-976d-53234eda2b77":{"oauth2":{"type":"oauth2","description":"OAuth 2.0 Authorization Code flow with PKCE. See the integration guide at docs.digitalseaservice.com for the full step-by-step.","flows":{"authorizationCode":{"authorizationUrl":"https://api.digitalseaservice.com/oauth/authorize","tokenUrl":"https://api.digitalseaservice.com/oauth/token","refreshUrl":"https://api.digitalseaservice.com/oauth/token","scopes":{"profile:read":"Read the crew member's name, role, country, and photo URL.","seatime:read":"Read aggregate sea-time totals and the 12-month trend.","vessels:read":"Read the crew member's vessel history.","calendar:read":"Read a vessel's official sea-service calendar, including AIS days, notes, sign-on, sign-off, and watchkeeping.","calendar:write":"Edit a vessel's official sea-service calendar: day type, notes, and delete. Vessel admin only."}}},"scopes":["calendar:write"],"schemeName":"oauth2"}},"3e2f09bf-38a0-4507-ba0c-36b445b7d045":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"Opaque","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"4bf7af7a-4691-4d8e-b8d1-6343495946d4":{"url":"https://api.digitalseaservice.com","description":"Production"},"7b5fb4ab-128a-4895-bce9-dc8aed12fed4":{"url":"https://api.dev.digitalseaservice.com","description":"Sandbox (dev)"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"oauth2","description":"OAuth 2.0 Authorization Code flow with PKCE. See the integration guide at docs.digitalseaservice.com for the full step-by-step.","flows":{"authorizationCode":{"authorizationUrl":"https://api.digitalseaservice.com/oauth/authorize","tokenUrl":"https://api.digitalseaservice.com/oauth/token","refreshUrl":"https://api.digitalseaservice.com/oauth/token","scopes":{"profile:read":"Read the crew member's name, role, country, and photo URL.","seatime:read":"Read aggregate sea-time totals and the 12-month trend.","vessels:read":"Read the crew member's vessel history.","calendar:read":"Read a vessel's official sea-service calendar, including AIS days, notes, sign-on, sign-off, and watchkeeping.","calendar:write":"Edit a vessel's official sea-service calendar: day type, notes, and delete. Vessel admin only."}}},"scopes":["calendar:write"],"schemeName":"oauth2"},"schema":{"title":"OAuth2 Auth","type":"string","isRequired":true,"description":"OAuth 2.0 Authorization Code flow with PKCE. See the integration guide at docs.digitalseaservice.com for the full step-by-step.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"oauth2","name":"Authorization"}],"title":"oauth2"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"Opaque","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"digital-sea-service","siteName":"DSS Public API","title":"Set official sea-service days on a vessel calendar - DSS Public API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T15:14:51.919Z","originalFileLocation":"api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Vessel admin only. Saved days follow the website calendar, including AIS.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DSS Public API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/digital-sea-service/B5RTDb69HNCDO27y/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/digital-sea-service/B5RTDb69HNCDO27y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/digital-sea-service/B5RTDb69HNCDO27y/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/digital-sea-service/B5RTDb69HNCDO27y/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/digital-sea-service/B5RTDb69HNCDO27y/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/digital-sea-service/B5RTDb69HNCDO27y/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/digital-sea-service/B5RTDb69HNCDO27y/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/digital-sea-service/B5RTDb69HNCDO27y/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/digital-sea-service/B5RTDb69HNCDO27y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set official sea-service days on a vessel calendar - DSS Public API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Vessel admin only. Saved days follow the website calendar, including AIS.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DSS Public API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.digitalseaservice.com/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://digital-sea-service.mintlify.app/_mintlify/api/og/v2?division=calendar\u0026amp;title=Set+official+sea-service+days+on+a+vessel+calendar\u0026amp;description=Vessel+admin+only.+Saved+days+follow+the+website+calendar%2C+including+AIS.\u0026amp;theme=95e2d391bd00e607d955667d\u0026amp;signature=91a0efb554ca739335262db6b4d383957458ff1e9d1d601cd485acc5dcfd3e7b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Set official sea-service days on a vessel calendar - DSS Public API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Vessel admin only. Saved days follow the website calendar, including AIS.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://digital-sea-service.mintlify.app/_mintlify/api/og/v2?division=calendar\u0026amp;title=Set+official+sea-service+days+on+a+vessel+calendar\u0026amp;description=Vessel+admin+only.+Saved+days+follow+the+website+calendar%2C+including+AIS.\u0026amp;theme=95e2d391bd00e607d955667d\u0026amp;signature=91a0efb554ca739335262db6b4d383957458ff1e9d1d601cd485acc5dcfd3e7b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/digital-sea-service/B5RTDb69HNCDO27y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DSS Public API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#137fec\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.digitalseaservice.com/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.digitalseaservice.com/#organization\",\"name\":\"DSS Public API\",\"url\":\"https://docs.digitalseaservice.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/digital-sea-service/FPUF6X1hT-DnsQjt/images/logo-light.png?fit=max\u0026auto=format\u0026n=FPUF6X1hT-DnsQjt\u0026q=85\u0026s=0af14ba1d3a2ade74e9d47a208017f5b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.digitalseaservice.com#website\",\"name\":\"DSS Public API\",\"url\":\"https://docs.digitalseaservice.com\",\"publisher\":{\"@id\":\"https://docs.digitalseaservice.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.digitalseaservice.com/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar#webpage\",\"url\":\"https://docs.digitalseaservice.com/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar\",\"name\":\"Set official sea-service days on a vessel calendar\",\"description\":\"Vessel admin only. Saved days follow the website calendar, including AIS.\",\"dateModified\":\"2026-10-25T15:14:51.919Z\",\"isPartOf\":{\"@id\":\"https://docs.digitalseaservice.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.digitalseaservice.com/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.digitalseaservice.com/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.digitalseaservice.com/api-reference/oauth/authorize-get\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"calendar\",\"item\":\"https://docs.digitalseaservice.com/api-reference/calendar/read-a-vessels-official-sea-service-calendar\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Set official sea-service days on a vessel calendar\",\"item\":\"https://docs.digitalseaservice.com/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.digitalseaservice.com/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar#apireference\",\"headline\":\"Set official sea-service days on a vessel calendar\",\"name\":\"Set official sea-service days on a vessel calendar\",\"description\":\"Vessel admin only. Saved days follow the website calendar, including AIS.\",\"url\":\"https://docs.digitalseaservice.com/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar\",\"mainEntityOfPage\":{\"@id\":\"https://docs.digitalseaservice.com/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar#webpage\"},\"dateModified\":\"2026-10-25T15:14:51.919Z\",\"publisher\":{\"@id\":\"https://docs.digitalseaservice.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.digitalseaservice.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DSS Public API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"DSS Public API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference/overview"}]},{"group":"Endpoints","pages":[{"group":"oauth","pages":[{"title":"Authorize Get","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /oauth/authorize","href":"/api-reference/oauth/authorize-get"},{"title":"Authorize Post","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /oauth/authorize","href":"/api-reference/oauth/authorize-post"},{"title":"Token Endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /oauth/token","href":"/api-reference/oauth/token-endpoint"},{"title":"Revoke Endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /oauth/revoke","href":"/api-reference/oauth/revoke-endpoint"},{"title":"Userinfo Endpoint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /oauth/userinfo","href":"/api-reference/oauth/userinfo-endpoint"}]},{"group":"v1","pages":[{"title":"Get the authenticated user's profile","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/me","href":"/api-reference/v1/get-the-authenticated-users-profile"}]},{"group":"sea-time","pages":[{"title":"Get aggregate sea-time totals","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/me/sea-time","href":"/api-reference/sea-time/get-aggregate-sea-time-totals"},{"title":"Get the rolling 12-month sea-time trend","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/me/sea-time/recent","href":"/api-reference/sea-time/get-the-rolling-12-month-sea-time-trend"}]},{"group":"vessels","pages":[{"title":"List the authenticated user's vessel history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/me/vessels","href":"/api-reference/vessels/list-the-authenticated-users-vessel-history"}]},{"group":"calendar","pages":[{"title":"Read a vessel's official sea-service calendar","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/me/vessels/{vessel_id}/calendar","href":"/api-reference/calendar/read-a-vessels-official-sea-service-calendar"},{"title":"Set official sea-service days on a vessel calendar","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /v1/me/vessels/{vessel_id}/calendar","href":"/api-reference/calendar/set-official-sea-service-days-on-a-vessel-calendar"},{"title":"Clear official sea-service days on a vessel calendar","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/me/vessels/{vessel_id}/calendar","href":"/api-reference/calendar/clear-official-sea-service-days-on-a-vessel-calendar"}]},{"group":"webhooks","pages":[{"title":"Fire a webhook.test event to your registered URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/webhooks/test","href":"/api-reference/webhooks/fire-a-webhooktest-event-to-your-registered-url"}]},{"group":"partners","pages":[{"title":"List this partner's sponsored seats","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/partners/sponsorships","href":"/api-reference/partners/list-this-partners-sponsored-seats"},{"title":"Provision a crew member into a sponsored seat","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/partners/sponsorships","href":"/api-reference/partners/provision-a-crew-member-into-a-sponsored-seat"},{"title":"Get one sponsored seat","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v1/partners/sponsorships/{sponsorship_id}","href":"/api-reference/partners/get-one-sponsored-seat"},{"title":"Remove a sponsored seat","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /v1/partners/sponsorships/{sponsorship_id}","href":"/api-reference/partners/remove-a-sponsored-seat"},{"title":"Reconcile seats against the partner's authoritative active list","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/partners/sponsorships/reconcile","href":"/api-reference/partners/reconcile-seats-against-the-partners-authoritative-active-list"},{"title":"Notify DSS that a YWC member has left","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/partners/members/left","href":"/api-reference/partners/notify-dss-that-a-ywc-member-has-left"},{"title":"Mint a one-time DSS login URL for a Connected YWC member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v1/partners/sso/tickets","href":"/api-reference/partners/mint-a-one-time-dss-login-url-for-a-connected-ywc-member"}]}]}]}]},"title":"Set official sea-service days on a vessel calendar - DSS Public API","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}