<<<<<<< HEAD ======= >>>>>>> 0a75ee1214dbcf88620b703810fab9e09d8c89fb

saveArtifact

abstract suspend fun saveArtifact(sessionKey: SessionKey, filename: String, artifact: Part): Int

Saves an artifact.

Return

the revision ID (version) of the saved artifact.

Parameters

sessionKey

identifies the user and session the operation is scoped to.

filename

the artifact filename; a user: prefix addresses the user scope instead.

artifact

the artifact