Skip to content

Conversation

@anikbrazeau
Copy link
Member

@anikbrazeau anikbrazeau commented Nov 6, 2024

Description

First version of the documentation site is deploying from docs branch. This PR would bring it into the main branch so that it's more in the open.
https://cds-snc.github.io/forms-api/

Implications

If this PR gets merged, it will require updating the "Settings" for the repo to deploy the "main" branch instead of "docs". There is some remaining work to be done to rework the architecture to modernize it -- a few things in the config file are not even needed.

image

Reference links

https://docs.google.com/document/d/1HbTmNL8rSnYl_GnCT0hACPL6CNq1j6UOiR8-w0DqWgQ/edit?tab=t.0
https://github.com/cds-snc/pspc-documentation/tree/master
https://github.com/cds-snc/talent
https://github.com/cds-snc/rcmp-report-a-cybercrime-alpha-documentation

* Modify homepage tag line in translations

Updated the homepage tag line in both English and French translations to remove 'Protected B' as everything is now protected B, no need to differentiate.

* API key refresh EN

* Revise API key refresh to key rotation FR

Updated the section on API key management to clarify the process of key rotation and its necessity.

* Update API key instructions in getting-started.md

Clarified API key generation instructions and security note.

* Add API key requirement to documentation
* Modify homepage tag line in translations

Updated the homepage tag line in both English and French translations to remove 'Protected B' as everything is now protected B, no need to differentiate.

* API key refresh EN

* Revise API key refresh to key rotation FR

Updated the section on API key management to clarify the process of key rotation and its necessity.

* Update API key instructions in getting-started.md

Clarified API key generation instructions and security note.

* Add API key requirement to documentation

* Document file retrieval process for submissions - EN

Added section on retrieving attached files from submissions, including security considerations and example response data.

* Add details on retrieving form submission attachments - FR

Added section on retrieving attachments from form submissions, including security considerations and example response data.

* Revise documentation on form submission file retrieval

Updated section headers and clarified file retrieval process.

* Enhance security section for file retrieval

Clarified the process of retrieving attached files securely, emphasizing the importance of checking the isPotentiallyMalicious attribute for safety.

* Enhance security instructions for file analysis

Added guidance on handling the 'isPotentiallyMalicious' attribute for security.

* Update warning about file analysis responsibility

Clarified responsibility for checking the 'isPotentiallyMalicious' attribute before opening linked files.

* Clarify file scanning responsibility in documentation

Clarified responsibility for checking the isPotentiallyMalicious attribute in file scanning.

* Update file retrieval explanation in documentation

Clarified that files are retrieved from AWS and updated the wording for better understanding.

* Update explanation for retrieving attached files

Clarified that files are retrieved from AWS and linked to responses.

* Update file retrieval instructions with guidance link

Added a link to the Guidance page for file uploads in form submissions.

* Update API file retrieval instructions

Added a reference link to the guide for uploading files in the API section.

* Revise JSON example for file attachments

Updated the JSON structure for file attachments in the documentation, adding fields for 'id', 'downloadLink', and 'md5'.

* Revise JSON example for file attachments

Updated the JSON structure for attached files in the documentation.

* File scanning warning

* Apply suggestion from @anikbrazeau

* Apply suggestion from @anikbrazeau
* Update Base URL for authentication endpoint

* Change base URL to include versioning

Updated the base URL for the API documentation.
Fixed a broken link in the documentation regarding file retrieval and updated the guidance page link.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants