Input: {
    resource: code[];
    server?: uri;
}