Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tilgangspakker | Metadata API #50

Open
3 tasks
Tracked by #47
Thuen opened this issue Sep 6, 2024 · 0 comments
Open
3 tasks
Tracked by #47

Tilgangspakker | Metadata API #50

Thuen opened this issue Sep 6, 2024 · 0 comments
Assignees

Comments

@Thuen
Copy link

Thuen commented Sep 6, 2024

Tilgangspakker | Metadata API

Beskrivelse

Dette er et åpent API som kun skal eksponere åpne data.

Definisjoner

Url Description
package/ Gets all packages
package/{id} Gets a single package
taggroup/ Gets all tag groups
taggroup/{id}/tags Gets all tags in a group
tag/ Gets all tags
tag/{id} Gets a single tag
role Gets all roles
role/{id} Gets a single role
role/{id}/mapping/policy Gets all policy mappings for a single role
role/{id}/mapping/role Gets all role mappings for a single role

Modeller (Ikke forankret)

<!--- Package --->
{
    "id": "",
    "name": "Nye bedrifter",
    "isdelegable": true,
    "tags": ["Bygg og anlegg", "Bransje"],
    "rolemapping": [
        { 
            "id":"", 
            "name":"DAGL", 
            "urn":"brreg:role:dagl",
            "candelegate": true,
            "hasaccess": false
        },
        { 
            "id":"", 
            "name":"HA", 
            "urn":"altinn:role:ha",
            "candelegate": true,
            "hasaccess": false
        }
    ]
}
<!--- TagGroup --->
{
    "id": "",
    "name": "Område",
    "tags": [
        {
            "id":"",
            "name":"Bygg og anlegg",
            "groupid":""
        },
        {
            "id":"",
            "name":"Skatt, avgift, regnskap og toll",
            "groupid":""
        }
    ]
}
<!--- Tag --->
{
    "id": "",
    "name": "Bygg og anlegg",
    "groupid": ""
}

Tasks

  1. Thuen
  2. ivartryti
  3. ivartryti
@Thuen Thuen self-assigned this Sep 6, 2024
@Thuen Thuen mentioned this issue Oct 15, 2024
@Siri-Anna Siri-Anna transferred this issue from Altinn/altinn-authorization Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for Sprint
Development

No branches or pull requests

1 participant