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 session that owns the artifact.

filename

the artifact filename within the session.

artifact

the artifact