Hustro API
  1. Documentation
Hustro API
  • Analytics
    • Get average issue resolution time
      GET
    • Get detected and resolved issues statistics
      GET
  • Company
    • Get all companies from a project
      GET
    • Create company
      POST
    • Update company with specified id
      PUT
    • Remove company with specified id
      DELETE
    • Restore company with specified id
      GET
  • Compliance check document
    • Create new compliance check document
      POST
    • Edit compliance check document
      PUT
    • Remove compliance check document
      DELETE
  • Contract
    • Get all contracts from a project
      GET
    • Create contract on a project
      POST
    • Update contract with specified id
      PUT
    • Remove contract with specified id
      DELETE
    • Restore contract with specified id
      GET
  • Client
    • Get clients
      GET
    • Create Client
      POST
    • Update Client
      PUT
  • Checklist Item
    • Create Checklist Item
    • Update Checklist Item
    • Delete Checklist Item
  • Checklist item
    • Create new checklist item
    • Edit checklist item
    • Remove checklist item
  • Custom field values
    • Create
      • Create worktype
      • Create hazardCategory
      • Create environmentalAspect
      • Create correctiveActionType
    • translation
      • Create translation worktype
      • Create translation hazardCategry
      • Create translation environmentalAspect
      • Create translation correctiveActionType
    • visibleOnProcess
      • Create visibleOnProcess worktype
      • Create visibleOnProcess hazardCategory
      • Create visibleOnProcess environmentalAspect
      • Create visibleOnProcess correctiveActionType
    • Get worktypes
    • Get hazardCategories
    • Get environmentalAspect
    • Get correctiveActionType
  • Documentation
    • Create documentation
      POST
    • Get documentations
      GET
    • Update documentation
      PUT
    • Delete documentation
      DELETE
    • Restore documentation
      GET
    • PUT documentation presigned post
      PUT
    • PUT documentation uploadConfirmation
      PUT
    • AWS documentation upload
      POST
  • Document
    • On Issue
      • Upload confirmation
      • Upload failure
      • Download data
      • Delete document
      • Create document
      • Drawing start
      • Get single document
      • Get document from incoming email
    • On Event
      • Upload confirmation
      • Upload failure
      • Download data
      • Get single document from event
      • Delete document
      • Create document
    • On Inspection Template
      • Create document
      • Update document
      • Download data
      • Delete document
      • Upload confirmation
      • Upload failure
    • On Checklist Item
      • Create document
      • Update document
      • Download data
      • Delete document
      • Upload confirmation
      • Upload failure
    • On Protocol Item
      • Create document
      • Update document
      • Download data
      • Delete document
      • Upload confirmation
      • Upload failure
    • Shared Document
      • Get shared document with event
      • Get shared document
  • Dir
    • Create dir
    • Get dirs
    • Update dir
    • Delete dir
    • Restore dir
  • Event
    • Create event
    • Update event
    • Get single event
    • Delete event
  • Form
    • GET issue form
  • gdpr
    • Get GDPR
  • Issue
    • Get all issues from a project
    • Create issue
    • Get single issue
    • Update issue
    • Delete issue
    • Restore issue
    • Get changelog
    • Get inspection issues
  • Issue access
    • Edit access
    • Delete access
    • Create access item
  • Inspection
    • Get all inspections
    • Create new inspection
    • Edit inspection
    • Get single inspection
  • Incoming Email Message Content
    • Get Incoming Email Message Content
  • Level
    • Get levels
    • Create level
    • Edit level
    • Update levels
    • Delete level
    • Restore level
  • Logo - on client
    • GET logos
    • Create logo
    • Update logo
  • Logo - on project
    • GET logos
    • Create logo
    • Update logo
  • Norm document
    • Post new file as norm document
    • Edit norm document
    • Delete norm document
  • Open Api app
    • Create client application
    • Create oauth token
    • Get client applications
    • Delete client application
  • PdfFooter
    • GET footers
    • Create footer
    • Update footer
    • Delete footer
  • Project
    • Get projects
    • Create project
    • Update Project
  • Public
    • Get Status
    • Get PDF Service Status
    • Get Icons
    • Get Android Asset Links
    • Get iOS Asset Links
    • Get SimpleForm (Public)
    • Get Client (Public)
    • Get Logo Download (Public)
  • Protocol item
    • Fill inspection protocol item
  • Process
    • Get processes
  • Site
    • Get sites
    • Create Site
    • Edit Site
    • Delete Site
    • Restore Site
  • SimpleForm
    • Get Simple Forms
    • Get SimpleForm details
    • Get projects
    • Get sites for project
    • Get levels for site
    • Get documentation version download
    • Send Creation Notification
    • Create issue
    • Create SimpleForm
    • Update Simple Form
  • Statistics
    • Company score
    • Issue average resolution time
    • Detected Resolved Issues
  • Template
    • Create new template
    • Get all templates
    • Update single template
    • Get inspection template
    • Delete inspection template
  • User
    • Get user-me
    • Get users on project
    • Update user
    • Create user
  • Visible field
    • GET visible fields
    • PUT upsert visible fields
  • Worktype
    • Get all worktypes from a project
  1. Documentation

AWS documentation upload

POST
https://app.hustro.com/api/v2/hustro-documentation-v2-dev

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params multipart/form-data

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://app.hustro.com/api/v2/hustro-documentation-v2-dev' \
--header 'hustro-client: web' \
--header 'hustro-client-version: ' \
--header 'Authorization: Bearer <token>' \
--form 'key="client/5f212d37e25fd8d7a952f820/project/5e417e81cc65ea28d1ff0fac/6385f367c06a3301ac187f89/6385f367c06a3301ac187f89.webp"' \
--form 'bucket="hustro-documentation-v2-dev"' \
--form 'X-Amz-Algorithm="AWS4-HMAC-SHA256"' \
--form 'X-Amz-Credential="AKIAVJQ6PF7WNWLIGX2C/20221129/eu-central-1/s3/aws4_request"' \
--form 'X-Amz-Date="20221129T115641Z"' \
--form 'Policy="eyJleHBpcmF0aW9uIjoiMjAyMi0xMS0yOVQxMjo1Njo0MVoiLCJjb25kaXRpb25zIjpbWyJjb250ZW50LWxlbmd0aC1yYW5nZSIsMCwzMDAwMDAwMDBdLHsia2V5IjoiY2xpZW50LzVmMjEyZDM3ZTI1ZmQ4ZDdhOTUyZjgyMC9wcm9qZWN0LzVlNDE3ZTgxY2M2NWVhMjhkMWZmMGZhYy82Mzg1ZjM2N2MwNmEzMzAxYWMxODdmODkvNjM4NWYzNjdjMDZhMzMwMWFjMTg3Zjg5LndlYnAifSx7ImJ1Y2tldCI6Imh1c3Ryby1kb2N1bWVudGF0aW9uLXYyLWRldiJ9LHsiWC1BbXotQWxnb3JpdGhtIjoiQVdTNC1ITUFDLVNIQTI1NiJ9LHsiWC1BbXotQ3JlZGVudGlhbCI6IkFLSUFWSlE2UEY3V05XTElHWDJDLzIwMjIxMTI5L2V1LWNlbnRyYWwtMS9zMy9hd3M0X3JlcXVlc3QifSx7IlgtQW16LURhdGUiOiIyMDIyMTEyOVQxMTU2NDFaIn1dfQ=="' \
--form 'X-Amz-Signature="9bf84164fa0898cd33c987fe8601695d0056b8aee1db298b7e8db8243c961a87"' \
--form 'file=@""'
Response Response Example
{}
Previous
PUT documentation uploadConfirmation
Next
Document
Built with