Skip to content

Commit

Permalink
177: Make filename fields consistent (file_name -> filename) (#233)
Browse files Browse the repository at this point in the history
Co-authored-by: Yoram Kulbak <yoram.kulbak@gmail.com>
  • Loading branch information
nicktindall and ykulbak authored Nov 9, 2020
1 parent 63b7ef1 commit ebc1195
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1090,11 +1090,11 @@ Retrieve a **collection** of file references as topic header.
Body:
[{
"ifc_project": "0J$yPqHBD12v72y4qF6XcD",
"file_name": "OfficeBuilding_Architecture_0001.ifc",
"filename": "OfficeBuilding_Architecture_0001.ifc",
"reference": "https://example.com/files/0J$yPqHBD12v72y4qF6XcD_0001.ifc"
}, {
"ifc_project": "3hwBHP91jBRwPsmyf$3Hea",
"file_name": "OfficeBuilding_Heating_0003.ifc",
"filename": "OfficeBuilding_Heating_0003.ifc",
"reference": "cf37bae6-0900-46be-b37f-b34754fe0b4a"
}]

Expand All @@ -1116,11 +1116,11 @@ Update a **collection** of file references on the topic header. This operation i
Body:
[{
"ifc_project": "0J$yPqHBD12v72y4qF6XcD",
"file_name": "OfficeBuilding_Architecture_0001.ifc",
"filename": "OfficeBuilding_Architecture_0001.ifc",
"reference": "https://example.com/files/0J$yPqHBD12v72y4qF6XcD_0001.ifc"
}, {
"ifc_project": "3hwBHP91jBRwPsmyf$3Hea",
"file_name": "OfficeBuilding_Heating_0003.ifc",
"filename": "OfficeBuilding_Heating_0003.ifc",
"reference": "https://example.com/files/3hwBHP91jBRwPsmyf$3Hea_0003.ifc"
}]

Expand All @@ -1130,11 +1130,11 @@ Update a **collection** of file references on the topic header. This operation i
Body:
[{
"ifc_project": "0J$yPqHBD12v72y4qF6XcD",
"file_name": "OfficeBuilding_Architecture_0001.ifc",
"filename": "OfficeBuilding_Architecture_0001.ifc",
"reference": "https://example.com/files/0J$yPqHBD12v72y4qF6XcD_0001.ifc"
}, {
"ifc_project": "3hwBHP91jBRwPsmyf$3Hea",
"file_name": "OfficeBuilding_Heating_0003.ifc",
"filename": "OfficeBuilding_Heating_0003.ifc",
"reference": "https://example.com/files/3hwBHP91jBRwPsmyf$3Hea_0003.ifc"
}]

Expand Down
2 changes: 1 addition & 1 deletion Schemas_draft-03/Collaboration/File/file_GET.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"type": ["string",
"null"]
},
"file_name": {
"filename": {
"type": ["string",
"null"]
},
Expand Down
2 changes: 1 addition & 1 deletion Schemas_draft-03/Collaboration/File/file_PUT.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": ["string",
"null"]
},
"file_name": {
"filename": {
"type": ["string",
"null"]
},
Expand Down

0 comments on commit ebc1195

Please sign in to comment.