Skip to content

Commit

Permalink
More service doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaetanbrl authored Aug 2, 2024
1 parent 5bd815b commit d36b077
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs-manager-back/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,13 +323,35 @@ JSON Body params :
|------|------------------|-------------------------------------------------|----------------------------|
| GET | /all | | admins |

JSON Body params :
> Required : null
```
{
plugin: `<String>`,
label: `<String>`,
status: `<String>`,
entity: `<String>`
}
```


- Get all files by application (plugin) code

| TYPE | URL | Param | ALLOWED ROLES |
|------|------------------|-------------------------------------------------|----------------------------|
| GET | /plugin/{plugin} | Plugin: `<string>` - Plugin's code (e.g CARTEAUX) | writers + readers + admins |

JSON Body params :
> Required : null
```
{
label: `<String>`,
status: `<String>`,
entity: `<String>`
}
```

- Get verification to controle that a document exists

Expand All @@ -343,6 +365,12 @@ JSON Body params :
|--------|-----------------------|----------------------------------------------------------------------------------|----------------------------|
| DELETE | /plugin/{plugin}/{id} | pluginPlugin: `<string>` - Plugin's code (e.g CARTEAUX)<br>id: file's ID to delete | writers + admins |

- Get a file by plugin's code and document identifier

| TYPE | URL | Param | ALLOWED ROLES |
|--------|-----------------------|----------------------------------------------------------------------------------|----------------------------|
| GET | /plugin/{plugin}/{id} | pluginPlugin: `<string>` - Plugin's code (e.g CARTEAUX)<br>id: file's ID to delete | writers + readers + admins |

# Developper corner

TODO
Expand Down

0 comments on commit d36b077

Please sign in to comment.