This content is still in draft.
candidateProfile
query from Step 3 should be used to retrieve the URL of any profile attachments.
If a resume is available, the attachments object should be populated with the URL of the resume as shown below.query ($id: String!) {
candidateProfile(id: $id) {
attachments {
descriptions
seekRoleCode
url
}
}
}
url
field of the GraphQL response.During the Apply with SEEK flow your software should download attachments via your server using a partner token.Attachment files have additional metadata returned in standard HTTP headers.
These headers can be parsed by your software or passed to the hirer’s browser when they download the attachment.You can use the HTTP HEAD
method to retrieve an attachment’s metadata without downloading its contents.
This is useful to display the attachment’s metadata before downloading it.The Content-Disposition
header contains the attachment’s original filename encoded using RFC 6266 .We recommend parsing the filename using a library or framework that supports RFC 6266 .
This ensures your software is robust against filenames containing spaces, quotes or other special characters.The Content-Length
header indicates the size of the attachment in bytes.
This can be retrieved using the HTTP HEAD
method to display the attachment’s size before downloading it.The Content-Type
header indicates the file format of the attachment.
Alternatively, you can extract the attachment’s file extension from its Content-Disposition
.The currently supported file formats are:Content-Type | File format | Extension |
---|---|---|
application/msword | Microsoft Word 97-2004 | .doc |
application/vnd.openxmlformats-officedocument.wordprocessingml.document | Microsoft Word (OpenXML) | .docx |
application/rtf | Rich Text Format (RTF) | .rtf |
application/pdf | Portable Document Format (PDF) | .pdf |
text/plain | Plain text | .txt |
Last-Modified
header contains the date the attachment was uploaded or generated.SEEK processes attachments to reduce the risk to hirers reviewing candidate applications:- Attachments are scanned for viruses before the candidate application is made visible to partners. Any files containing viruses are removed from the candidate application.
- Attachments may be modified to remove dangerous content such as macros or phishing links.