Skip to content

Commit

Permalink
06.09.2024 fixed examples with the cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
denismarini committed Sep 6, 2024
1 parent b51e8ff commit 1af5161
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 15 deletions.
4 changes: 2 additions & 2 deletions doc/03_analysis/io_schema/IFS01.1-request.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"academic_year":"2023/2024"
}

/*Esempio: invocazioni successive*/
/*Esempio: invocazioni successive (paginazione)*/
{
"academic_year":"2023/2024",
"academic_year":null
"cursor":"abc123456abc"
}
4 changes: 2 additions & 2 deletions doc/03_analysis/io_schema/IFS06.1-request.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Invocazioni successive alla prima (paginazione)
{
"cursor": "fowfio543s",
"institute_code": "AA"
"cursor": "fowfio543s"
}
10 changes: 8 additions & 2 deletions doc/03_analysis/io_schema/IFS07.1-request.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
//Prima invocazione
{
"cursor": "fowfio543s",
"institute_code": "AA",
"academic_system": "new",
"sync_mode": "full"
}

//Invocazioni successive alla prima (Paginazione)
{
"cursor": "fowfio543s",
"academic_system": null,
"sync_mode": null
}
1 change: 1 addition & 0 deletions release-note.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- [IFS07] Issue #215: Updated the definitions for academic_system and sync_mode by removing the min and max constraints and making these fields nullable
- [IFS02.3] 03.09.2024 issue #217
- [IFS04.2] 03.09.2024 issue #216
- [IFS01,IFS06,IFS07] 06.09.2024 fixed examples with the cursor


## Version 2.0.5
Expand Down
9 changes: 6 additions & 3 deletions src/IFS01-offerta-formativa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,18 @@ paths:
1 - prima invocazione:
value:
academic_year: 2023/2024
2 - invocazioni successive alla prima:
2 - invocazioni successive alla prima (paginazione):
value:
academic_year: 2023/2024
academic_year: null
cursor: "abc123456abc"
application/xml:
schema:
type: object
additionalProperties: false
properties: {}
description: "PUNTO DI ATTENZIONE:\n * NON valorizzare l'attributo cursor durante la prima invocazione;\n\ * Valorizzare l'attributo cursor nelle invocazioni successive (laddove presente nella precedente Response);"
description: |
"PUNTO DI ATTENZIONE:\n * NON valorizzare l'attributo cursor durante la prima invocazione;\n\ * Valorizzare l'attributo cursor nelle invocazioni successive (laddove presente nella precedente Response).
L'attributo academic_year non è considerato nelle invocazioni successive alla prima, ossia quando è valorizzato il cursor "
operationId: educational-offering-list
description: <ul> <li>Request the list of active courses offered by the Institute in an academic year. </li><li>Richiedi la lista dei corsi attivi offerti dall'Istituto in un anno accademico.</li></ul>
Expand Down Expand Up @@ -602,6 +604,7 @@ components:
minLength: 9
maxLength: 9
pattern: '^\d{4}/\d{4}$'
nullable: true
cursor:
type: string
description: Cursor / Cursore
Expand Down
5 changes: 2 additions & 3 deletions src/IFS06-variazioni-iscrizioni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,9 @@ paths:
schema:
$ref: '#/components/schemas/enrollments_request'
examples:
call with cursor:
Invocazioni successive alla prima (paginazione):
value:
cursor: fowfio543s
institute_code: AA
cursor: fowfio543s
application/xml:
schema:
type: object
Expand Down
7 changes: 4 additions & 3 deletions src/IFS07-variazioni-titoli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,13 @@ paths:
schema:
$ref: '#/components/schemas/student_qualifications_changes_request'
examples:
example:
Prima invocazione:
value:
cursor: fowfio543s
institute_code: AA
academic_system: new
sync_mode: full
Invocazioni successive alla prima (paginazione):
value:
cursor: fowfio543s
application/xml:
schema:
type: object
Expand Down

0 comments on commit 1af5161

Please sign in to comment.