-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rebuilding site Mon Nov 11 12:34:00 CET 2024
- Loading branch information
Jenkins CI server
committed
Nov 11, 2024
1 parent
b3db634
commit 10956db
Showing
85 changed files
with
2,298 additions
and
2,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,215 @@ | ||
{ | ||
"openapi": "3.0.1", | ||
"info": { | ||
"title": "KS Fiks: Melding-Konfigurasjon", | ||
"description": "Service for konfigurasjon av Fiks-Melding", | ||
"contact": { | ||
"name": "Fiks-brukerstøtte", | ||
"url": "https://ks-no.github.io/", | ||
"email": "[email protected]" | ||
}, | ||
"version": "v1" | ||
}, | ||
"servers": [ | ||
{ | ||
"url": "https://api.fiks.ks.no", | ||
"description": "KS Fiks API host" | ||
} | ||
], | ||
"security": [ | ||
{ | ||
"bearerAuth": [] | ||
} | ||
], | ||
"tags": [ | ||
{ | ||
"name": "FolkeregisterKonfigurasjon", | ||
"description": "API for å aktivere og deaktivere roller for folkeregister " | ||
} | ||
], | ||
"paths": { | ||
"/melding-konfigurasjon/api/v1/folkeregister/organisasjon/{fiksOrgId}": { | ||
"get": { | ||
"tags": [ | ||
"FolkeregisterKonfigurasjon" | ||
], | ||
"summary": "Henter informasjon om status for folkeregister-aktivering", | ||
"operationId": "hentStatus", | ||
"parameters": [ | ||
{ | ||
"name": "fiksOrgId", | ||
"in": "path", | ||
"required": true, | ||
"schema": { | ||
"type": "string", | ||
"format": "uuid" | ||
} | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Status for folkeregister-aktivering på fiksOrg", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/FolkeregisterStatusResponse" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"post": { | ||
"tags": [ | ||
"FolkeregisterKonfigurasjon" | ||
], | ||
"summary": "Aktiver folkeregister på fiksOrg", | ||
"operationId": "aktiverFolkeregister", | ||
"parameters": [ | ||
{ | ||
"name": "fiksOrgId", | ||
"in": "path", | ||
"required": true, | ||
"schema": { | ||
"type": "string", | ||
"format": "uuid" | ||
} | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Aktiver folkeregister på fiksOrg", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/AktivertRolle" | ||
} | ||
} | ||
} | ||
}, | ||
"default": { | ||
"description": "Noe gikk galt", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ErrorMessage" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"delete": { | ||
"tags": [ | ||
"FolkeregisterKonfigurasjon" | ||
], | ||
"summary": "Deaktiver folkeregister på fiksOrg", | ||
"operationId": "deaktiverFolkeregister", | ||
"parameters": [ | ||
{ | ||
"name": "fiksOrgId", | ||
"in": "path", | ||
"required": true, | ||
"schema": { | ||
"type": "string", | ||
"format": "uuid" | ||
} | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Deaktiver folkeregister på fiksOrg" | ||
}, | ||
"default": { | ||
"description": "Noe gikk galt", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
"$ref": "#/components/schemas/ErrorMessage" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"components": { | ||
"securitySchemes": { | ||
"bearerAuth": { | ||
"type": "http", | ||
"scheme": "bearer", | ||
"bearerFormat": "JWT" | ||
} | ||
}, | ||
"schemas": { | ||
"ErrorMessage": { | ||
"type": "object", | ||
"properties": { | ||
"timestamp": { | ||
"type": "integer", | ||
"format": "int64" | ||
}, | ||
"status": { | ||
"type": "integer", | ||
"format": "int32" | ||
}, | ||
"error": { | ||
"type": "string" | ||
}, | ||
"errorId": { | ||
"type": "string", | ||
"format": "uuid" | ||
}, | ||
"path": { | ||
"type": "string" | ||
}, | ||
"originalPath": { | ||
"type": "string" | ||
}, | ||
"message": { | ||
"type": "string" | ||
}, | ||
"errorCode": { | ||
"type": "string" | ||
}, | ||
"errorJson": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"AktivertRolle": { | ||
"required": [ | ||
"id" | ||
], | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"format": "uuid" | ||
} | ||
} | ||
}, | ||
"FolkeregisterStatusResponse": { | ||
"required": [ | ||
"status" | ||
], | ||
"type": "object", | ||
"properties": { | ||
"status": { | ||
"$ref": "#/components/schemas/FolkeregisterStatus" | ||
} | ||
}, | ||
"description": "Status for folkeregister-aktivering" | ||
}, | ||
"FolkeregisterStatus": { | ||
"type": "string", | ||
"enum": [ | ||
"AKTIVERT", | ||
"DEAKTIVERT" | ||
], | ||
"description": "Status for folkeregister-aktivering" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.