Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Comptoir du Libre v2 - Current version
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Comptoir
Comptoir du Libre v2 - Current version
Commits
8fa269aa
Commit
8fa269aa
authored
2 years ago
by
Fabrice Gangler
Browse files
Options
Downloads
Patches
Plain Diff
docs: improve API documentation (changelog + readme files)
parent
66493b43
No related branches found
No related tags found
1 merge request
!567
Api
Pipeline
#37248
passed
2 years ago
Stage: test
Changes
2
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Documentation/API/CHANGELOG.md
+9
-5
9 additions, 5 deletions
Documentation/API/CHANGELOG.md
Documentation/API/README.md
+37
-1
37 additions, 1 deletion
Documentation/API/README.md
with
46 additions
and
6 deletions
Documentation/API/CHANGELOG.md
+
9
−
5
View file @
8fa269aa
...
...
@@ -5,12 +5,14 @@ All notable changes to API will be documented in this file.
The format is based on
[
Keep a Changelog
](
https://keepachangelog.com/en/1.0.0/
)
,
and this project adheres to
[
Semantic Versioning
](
https://semver.org/spec/v2.0.0.html
)
.
--------------------------------
## v1.2.0 (unreleased)
### Added
-
add
`software -> license`
(will replace
`software -> licence`
in next major version)
-
add
`data_date`
(will replace
`date_of_export`
in next major version)
-
add
`data_statistics`
-
add
`data_documentation -> license`
...
...
@@ -23,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-
`date_of_export`
will be replaced by [
`data_date`
] in next major version
-
`number_of_software`
will be replaced by [
`data_statistics -> software`
] in next major version
-
`software -> licence`
will be replaced by [
`software -> license`
] in next major version
--------------------------------
...
...
@@ -31,11 +34,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
-
add external ressources
-
Wikipedia (software i18n slugs and URLs)
-
WikiData (software ID and URL)
-
FramaLibre (software slug and URL)
-
SILL (software ID and i18n URLs)
-
add
`software -> external_resources`
-
**Wikipedia**
(software i18n slugs and URLs)
-
**WikiData**
(software ID and URL)
-
**FramaLibre**
(software slug and URL)
-
**SILL**
(software ID and i18n URLs)
--------------------------------
...
...
This diff is collapsed.
Click to expand it.
Documentation/API/README.md
+
37
−
1
View file @
8fa269aa
...
...
@@ -16,10 +16,46 @@ For each software, this **API** provides:
-
_Comptoir-du-libre.org_ ID and i18n URLs,
-
External resources:
-
**Wikipedia**
(software i18n slugs and URLs),
-
**WikiData**
(software
slug
and URL),
-
**WikiData**
(software
ID
and URL),
-
**FramaLibre**
(software slug and URL),
-
**SILL**
(software ID and i18n URLs),
-
Providers:
-
Provider name,
-
Provider website,
-
_Comptoir-du-libre.org_ ID and URLs,
Example:
```
json
{
"api_documentation"
:
{
"version"
:
"1.2.0"
,
"changelog"
:
"https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/tree/develop/Documentation/API/CHANGELOG.md"
,
"documentation"
:
"https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/tree/develop/Documentation/API/"
,
"deprecated"
:
{}
},
"data_documentation"
:
{},
"data_statistics"
:
{},
"data_date"
:
"2022-12-07T16:19:40+00:00"
,
"softwares"
:
[
{
"id"
:
72
,
"name"
:
"7-zip"
,
"url"
:
"https://comptoir-du-libre.org/fr/softwares/72"
,
"i18n_url"
:
{
"fr"
:
"https://comptoir-du-libre.org/fr/softwares/72"
,
"en"
:
"https://comptoir-du-libre.org/en/softwares/72"
},
"license"
:
"GNU LGPL"
,
"created"
:
"2017-02-07T22:46:57+00:00"
,
"modified"
:
"2017-02-07T22:46:58+00:00"
,
"external_resources"
:
{
"website"
:
"http://www.7-zip.org/"
,
"repository"
:
"https://github.com/pornel/7z.git"
,
"framalibre"
:
{},
"sill"
:
{},
"wikidata"
:
{},
"wikipedia"
:
{}
},
"provider"
:
{}
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment