merge: resolution conflits develop -> master (ticket #14)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Créer l’issue #84 (correctifs modale MDP) via l’API Gitea
|
||||
|
||||
1. Définir un token valide :
|
||||
`export GITEA_TOKEN="votre_token"`
|
||||
ou créer `.gitea-token` à la racine du projet avec le token seul.
|
||||
|
||||
2. Créer l’issue :
|
||||
```bash
|
||||
cd /chemin/vers/PetitsPas
|
||||
curl -s -X POST \
|
||||
-H "Authorization: token $GITEA_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d @scripts/issue-84-payload.json \
|
||||
"https://git.ptits-pas.fr/api/v1/repos/jmartin/petitspas/issues"
|
||||
```
|
||||
|
||||
3. En cas de succès (HTTP 201), la réponse JSON contient le numéro de l’issue créée.
|
||||
|
||||
Payload utilisé : `scripts/issue-84-payload.json` (titre + corps depuis `scripts/issue-84-body.txt`).
|
||||
Reference in New Issue
Block a user