Tracciati CSV

Risorse REST per il caricamento e la consultazione dei tracciati CSV

triangle-exclamation

Upload a new csv trace.

post

Allows to upload a csv trace for a GovIO service.

Authorizations
GovHub-Consumer-PrincipalstringRequired
Query parameters
service_instanceinteger · int64Required

Govio Service Instance Id.

Example: 1
Body
filestring · binaryOptional
Responses
chevron-right
200

Successful operation.

application/hal+json
post
/files

Retrieve the uploaded csv traces

get

Retrieve the csv traces

Authorizations
GovHub-Consumer-PrincipalstringRequired
Query parameters
limitinteger · int32 · min: 1 · max: 100Optional

Max number of provided items.

offsetinteger · int64 · max: 9223372036854776000Optional

offset (zero-based) of indexed results.

Default: 0
qstring · max: 255Optional

generic query.

Example: user_1Pattern: ^[^\u0000]*$
user_idinteger · int64 · max: 9223372036854776000Optional

User identifier.

Example: 1
service_idinteger · int64 · max: 9223372036854776000Optional

Service identifier.

Example: 1
organization_idinteger · int64 · max: 9223372036854776000Optional

Organization identifier.

Example: 1
creation_date_fromstring · date-timeOptional
creation_date_tostring · date-timeOptional
sort_directionstring · enumRequired

Direction Sorting field.

Default: descPossible values:
statusstring · enumOptional

Status filter.

Possible values:
sortstring · enumRequired

Sorting field.

Default: idPossible values:
Responses
chevron-right
200

Successful operation.

application/hal+json
get
/files

Retrieve the uploaded csv trace.

get

Retrieve the csv trace.

Authorizations
GovHub-Consumer-PrincipalstringRequired
Path parameters
idinteger · int64Required

Govio File Id.

Example: 1
Responses
chevron-right
200

Successful operation.

application/hal+json
get
/files/{id}

Retrieve the file content of the uploaded csv trace.

get

Retrieve the file content

Authorizations
GovHub-Consumer-PrincipalstringRequired
Path parameters
idinteger · int64Required

Govio File Id.

Example: 1
Responses
chevron-right
200

Successful operation.

application/octet-stream
Responsestring · binary
get
/files/{id}/content

Retrieve the file processing messages.

get

Retrieve the file messages.

Authorizations
GovHub-Consumer-PrincipalstringRequired
Path parameters
idinteger · int64Required

Govio File Id.

Example: 1
Query parameters
limitinteger · int32 · min: 1 · max: 100Optional

Max number of provided items.

offsetinteger · int64 · max: 9223372036854776000Optional

offset (zero-based) of indexed results.

Default: 0
file_message_statusstring · enumRequiredDefault: anyExample: aqcuiredPossible values:
line_number_frominteger · int64 · max: 99999999Optional
Responses
chevron-right
200

Successful operation.

application/hal+json
get
/files/{id}/file-messages

Last updated