GET tiedostot?tiedosto_id={tiedosto_id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tiedosto_id | string | Required |
Body Parameters
None.
Response Information
Resource Description
ApiTiedosto
| Name | Description | Type | Additional information |
|---|---|---|---|
| Key | Asettaa tai palauttaa käytettävän tiedostoavaimen. | string | None. |
| FileName | Palauttaa tiedoston nimen päätteineen. | string | None. |
| Length | Palauttaa tiedoston koon tavuina. | integer | None. |
| Timestamp | Palauttaa aikaleiman, joka edustaa sitä ajanhetkeä jolloin tiedosto lisättiin järjestelmään. | string | None. |
| ContentType | string | None. |
Response Formats
application/json, text/json
Sample:
{
"Key": "sample string 1",
"FileName": "sample string 2",
"Length": 3,
"Timestamp": "sample string 4",
"ContentType": "sample string 5"
}
application/xml, text/xml
Sample:
<ApiTiedosto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Agenteq.Tampuuri.ApplicationServiceApi.Contract"> <ContentType>sample string 5</ContentType> <FileName>sample string 2</FileName> <Key>sample string 1</Key> <Length>3</Length> <Timestamp>sample string 4</Timestamp> </ApiTiedosto>