File Sets

Get the information about a file in a file set

Gets the metadata attached to a file in a file set. application/octet-stream headers returns the information and content of the specified file from the specified file set. application/vnd.sas.batch.file.set.file+json and application/json returns information about the specified file from the specified file set

get/fileSets/{fileSetId}/files/{fileName}

Request

  • Base URL: https://example.com/batch
  • URL: https://example.com/batch/fileSets/{fileSetId}/files/{fileName}
  • Auth: none declared

Path parameters

fileSetIdstring required

The ID of the file set.

fileNamestring required

The name of the file.

Response

The request succeeded.

createdBystring

The username of whoever created the resource.

modifiedBystring

The username of whoever last modified the resource.

creationTimeStampstring date-time

The timestamp for when the resource was created.

modifiedTimeStampstring date-time

The timestamp for when the resource was last modified.

fileSetIdstring

Specifies the file set ID that is associated with the file.

namestring

Specifies the name of the file.

sizeinteger

Specifies the name of the file.

versioninteger

Specifies the version number of this representation schema. This is version 1.

Example response

{
  "fileSetId": "JOB_20220606_182805_634_1",
  "name": "myTestPgm.sas",
  "size": 143568
}

Changes

No recorded changes to this operation across all 1 revision of this API.