LawVu API

The next generation of the LawVu API.

Download OpenAPI description
Overview
Languages
Servers
Sandbox API

https://api-sandbox.lawvu.com/

Production API

https://api.lawvu.com/

Contracts

Operations

Fields

Operations

Files

Operations

Delete file

Request

Delete a file

Path
fileIdinteger(int32)required

The system identifier for the file

Example: 9456
No request payload

Responses

No Content

Response
No content

Upload file version

Request

Upload a new version of a file

Path
fileIdinteger(int32)required

The system identifier for the file

Example: 9456
Bodymultipart/form-datarequired
formobjectrequired
form.​filestring or null(binary)

The file to be uploaded

multipart/form-data
{
  "form": {
    "file": "string"
  }
}

Responses

Created

Headers
Locationstring

Relative location to retrieve the new version of the file

Bodyapplication/json
idinteger(int32)read-only

The system identifier for the file

Example: 9456
Response
application/json
{ "id": 9456 }

Get file content

Request

Retrieve the content of a file

Path
fileIdinteger(int32)required

The system identifier for the file

Example: 9456
No request payload

Responses

The binary content of the file.

Headers
Content-Typestring

The content type of the file content

Content-Lengthinteger

The length in bytes of the file content

Content-MD5string

The MD5 hash of the file content

Content-Dispositionstring

The content disposition of the file content

Bodyapplication/octet-stream
string(binary)
Response
No content

Upload file

Request

Upload a file

Bodymultipart/form-datarequired
formobjectrequired
form.​targetResourceTypestringrequired

The type of the resource the file will be uploaded to

Enum"Matter""Contract""ContractCreation"
Example: "Matter"
form.​filestring or null(binary)

The file to be uploaded

form.​folderIdinteger or null(int32)

The parent folder id of the file. Leave null if the file is not in a folder

Example: 32535
form.​targetResourceIdinteger or null(int32)

The id of the resource the file will be uploaded to. Required unless TargetResourceType is ContractCreation

Example: 65436
multipart/form-data
{
  "form": {
    "targetResourceType": "Matter",
    "file": "string",
    "folderId": 32535,
    "targetResourceId": 65436
  }
}

Responses

Created

Headers
Locationstring

Relative location to retrieve the created file

Bodyapplication/json
idinteger(int32)read-only

The system identifier for the file

Example: 9456
Response
application/json
{ "id": 9456 }

Matters

Operations