Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
parlapi
parlapi
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • regardscitoyens
  • parlapiparlapi
  • Merge Requests
  • !8

Open
Opened May 21, 2018 by Quentin@QuentinFchx10 of 2 tasks completed0/2 tasks
  • Report abuse
Report abuse

WIP: feat: import questions

  • Overview 11
  • Commits 1
  • Changes 7

Fixes #10

  • Define a schema to handle questions. (Needs to be discussed)
  • Define the API. (Same)

auteur has the following properties:

"auteur":{
  "identite":{"acteurRef":"PA721062","mandatRef":"PM723158"},
  "groupe":{"organeRef":"PO730958","abrege":"FI","developpe":"La France insoumise"}
}

Shall we reference acteur_id, mandat_id or both? Shall I include group_id?

Each question contains data relative to its "cloture"

"cloture":{
   "codeCloture":"REP_PUB",
   "libelleCloture":"R\u00e9ponse publi\u00e9e",
   "dateCloture":"13/12/2017",
   "infoJO":{"typeJO":"JO_DEBAT","dateJO":"13/12/2017","pageJO":"6377"}
}

What does it exactly mean?

Each text (question/response) has also information related to the JO

"infoJO":{"typeJO":"JO_DEBAT","dateJO":"13/12/2017"}

Shall I include that aswell?

Edited May 21, 2018 by Quentin

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch "https://git.regardscitoyens.org/QuentinFchx/parlapi.git" "questions"
git checkout -b "QuentinFchx/parlapi-questions" FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout "origin/master"
git merge --no-ff "QuentinFchx/parlapi-questions"

Step 4. Push the result of the merge to GitLab

git push origin "master"

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: regardscitoyens/parlapi!8