{"swagger": "2.0", "basePath": "/", "paths": {"/feed": {"get": {"responses": {"200": {"description": "OK"}, "400": {"description": "Bad Request"}, "500": {"description": "Technical error"}}, "description": "Deprecated", "operationId": "get_feed_legacy", "parameters": [{"name": "date", "in": "query", "type": "string", "format": "date-time", "required": true, "description": "Stream ads changed since datetime. Accepts datetime as YYYY-MM-DDTHH:MM:SS, for example 2026-11-17T19:36:23"}, {"name": "updated-before-date", "in": "query", "type": "string", "format": "date-time", "description": "Stream ads changed before datetime. Accepts datetime as YYYY-MM-DDTHH:MM:SS. Optional if you want to set a custom time span. Defaults to 'now' if not set."}, {"name": "occupation-concept-id", "in": "query", "type": "array", "items": {"type": "string"}, "collectionFormat": "multi", "description": "Filter stream ads by one or more occupation concept ids (from occupation, occupation_group, occupation_field)."}, {"name": "location-concept-id", "in": "query", "type": "array", "items": {"type": "string"}, "collectionFormat": "multi", "description": "Filter stream ads by one or more location concept ids (from municipality_concept_id, region_concept_id, country_concept_id)."}], "deprecated": true, "tags": ["Feed"]}}, "/snapshot": {"get": {"responses": {"200": {"description": "OK"}, "500": {"description": "Technical error"}}, "description": "Deprecated, use the /v2/snapshot endpoint", "operationId": "get_snapshot_legacy", "deprecated": true, "tags": ["Snapshot"]}}, "/stream": {"get": {"responses": {"200": {"description": "OK"}, "400": {"description": "Bad Request"}, "500": {"description": "Technical error"}}, "description": "Deprecated, use the /v2/stream endpoint", "operationId": "get_stream_legacy", "parameters": [{"name": "date", "in": "query", "type": "string", "format": "date-time", "required": true, "description": "Stream ads changed since datetime. Accepts datetime as YYYY-MM-DDTHH:MM:SS, for example 2026-11-17T19:36:23"}, {"name": "updated-before-date", "in": "query", "type": "string", "format": "date-time", "description": "Stream ads changed before datetime. Accepts datetime as YYYY-MM-DDTHH:MM:SS. Optional if you want to set a custom time span. Defaults to 'now' if not set."}, {"name": "occupation-concept-id", "in": "query", "type": "array", "items": {"type": "string"}, "collectionFormat": "multi", "description": "Filter stream ads by one or more occupation concept ids (from occupation, occupation_group, occupation_field)."}, {"name": "location-concept-id", "in": "query", "type": "array", "items": {"type": "string"}, "collectionFormat": "multi", "description": "Filter stream ads by one or more location concept ids (from municipality_concept_id, region_concept_id, country_concept_id)."}], "deprecated": true, "tags": ["Stream"]}}, "/v2/snapshot": {"get": {"responses": {"200": {"description": "OK"}, "500": {"description": "Technical error"}}, "description": "Ads as JSON or JSON lines.\nDownload all the ads currently published in Platsbanken.", "operationId": "get_snapshot", "produces": ["application/json", "application/jsonl"], "tags": ["Snapshot"]}}, "/v2/stream": {"get": {"responses": {"200": {"description": "OK"}, "400": {"description": "Bad Request"}, "500": {"description": "Technical error"}}, "description": "Ads as JSON or JSON lines.\nDownload all the ads that has been changed (e.g. added, updated, unpublished, published) during requested time interval.\nTo get the response formatted as JSON lines make sure to send the correct accept header (application/jsonl).\n\nIf you try it out in a web browser, use a short date interval, otherwise the volume of data might cause your browser to hang.", "operationId": "get_stream", "parameters": [{"name": "updated-after", "in": "query", "type": "string", "format": "date-time", "required": true, "description": "Stream ads changed since datetime. Accepts datetime as YYYY-MM-DDTHH:MM:SS, for example 2026-11-17T19:36:23"}, {"name": "updated-before", "in": "query", "type": "string", "format": "date-time", "description": "Stream ads changed before datetime. Accepts datetime as YYYY-MM-DDTHH:MM:SS. Optional if you want to set a custom time span. Defaults to 'now' if not set."}, {"name": "occupation-concept-id", "in": "query", "type": "array", "items": {"type": "string"}, "collectionFormat": "multi", "description": "Filter stream ads by one or more occupation concept ids (from occupation, occupation_group, occupation_field)."}, {"name": "location-concept-id", "in": "query", "type": "array", "items": {"type": "string"}, "collectionFormat": "multi", "description": "Filter stream ads by one or more location concept ids (from municipality_concept_id, region_concept_id, country_concept_id)."}], "produces": ["application/json", "application/jsonl"], "tags": ["Stream"]}}}, "info": {"title": "JobStream", "version": "2.1.1", "description": "## An API for retrieving all currently published job ads from the Swedish Public Employment Service\n**Useful links:**\n- [JobStream getting started](https://gitlab.com/arbetsformedlingen/job-ads/jobsearch-apis/-/blob/main/docs/GettingStartedJobStreamEN.md)\n- [JobStream Code example](https://gitlab.com/arbetsformedlingen/job-ads/getting-started-code-examples/jobstream-example)\n- [Taxonomy Getting Started](https://arbetsformedlingen.gitlab.io/taxonomy-dev/projects/jobtech-taxonomy/overview.html)\n- [Taxonomy Atlas](https://atlas.jobtechdev.se)\n- [More open data from Arbetsf\u00f6rmedlingen](https://data.arbetsformedlingen.se/)\n", "contact": {"name": "Contact: opendata@arbetsformedlingen.se", "email": null, "url": "https://data.arbetsformedlingen.se/"}, "license": {"name": "Ads are licensed under CC0", "url": "https://creativecommons.org/publicdomain/zero/1.0/deed.sv"}}, "produces": ["application/json"], "consumes": ["application/json"], "tags": [{"name": "Snapshot", "description": "Start with a snapshot and keep it up to date with stream"}, {"name": "Stream", "description": "Start with a snapshot and keep it up to date with stream"}, {"name": "Feed", "description": "An Atom/xml feed of ads"}], "responses": {"ParseError": {"description": "When a mask can't be parsed"}, "MaskError": {"description": "When any error occurs on mask"}}}
