const whitelist = {
	'accounts/pwgen': {
		methods: {
			get: 200,
		},
	},
	'accounts/confirm': {
		methods: {
			post: 201,
		},
	},
	schools: {
		methods: {
			get: 200,
		},
	},
	years: {
		methods: {
			get: 200,
		},
	},
	gradeLevels: {
		methods: {
			get: 200,
		},
	},
	'tools/link': {
		methods: {
			post: 404,
		},
	},
	materials: {
		methods: {
			get: 200,
			post: 400,
			patch: 200,
			delete: 200,
			put: 400,
		},
	},
	'lessons/contents/{type}': {
		methods: {
			get: 200,
		},
	},
	link: {
		methods: {
			get: 500,
		},
	},
	registrationlink: {
		methods: {
			post: 201,
		},
	},
	passwordRecovery: {
		methods: {
			post: 201,
		},
	},
	'passwordRecovery/reset': {
		methods: {
			post: 201,
		},
	},
	'wopi/files/{fileId}/contents': {
		methods: {
			get: 500,
			post: 500,
		},
	},
	'wopi/files/{fileId}': {
		methods: {
			get: 500,
			post: 500,
		},
	},
	'oauth2/baseUrl': {
		methods: {
			get: 200,
		},
	},
	roster: {
		methods: {
			get: 200,
		},
	},
	'roster/users/{user}/metadata': {
		methods: {
			get: 500,
		},
	},
	'roster/users/{user}/groups': {
		methods: {
			get: 500,
		},
	},
	alert: {
		methods: {
			get: 200,
		},
	},
	users: {
		methods: {
			post: 400,
		},
	},
	registrationPins: {
		methods: {
			post: 400,
		},
	},
	registration: {
		methods: {
			post: 400,
		},
	},
	accounts: {
		methods: {
			get: 400,
			post: 400,
		},
	},
	hash: {
		methods: {
			post: 400,
		},
	},
	consents: {
		methods: {
			post: 400,
		},
	},
	sync: {
		methods: {
			get: 400,
		},
	},
	mails: {
		methods: {
			post: 500,
		},
	},
};

// TODO remove this
const ignoreList = {
	expertinvitelink: {
		methods: ['post'],
	},
};

module.exports = { whitelist, ignoreList };

@@ -17,64 +17,8 @@
 = %7B%0A
-%09'accounts/pwgen': %7B%0A%09%09methods: %7B%0A%09%09%09get: 200,%0A%09%09%7D,%0A%09%7D,%0A
 %09'ac
@@ -669,483 +669,140 @@
 ,%0A%09'
-wopi/files/%7BfileId%7D/contents': %7B%0A%09%09methods: %7B%0A%09%09%09get: 500,%0A%09%09%09post: 500,%0A%09%09%7D,%0A%09%7D,%0A%09'wopi/files/%7BfileId%7D': %7B%0A%09%09methods: %7B%0A%09%09%09get: 500,%0A%09%09%09post: 500,%0A%09%09%7D,%0A%09%7D,%0A%09'oauth2/baseUrl': %7B%0A%09%09methods: %7B%0A%09%09%09get: 200,%0A%09%09%7D,%0A%09%7D,%0A%09roster: %7B%0A%09%09methods: %7B%0A%09%09%09get: 200,%0A%09%09%7D,%0A%09%7D,%0A%09'roster/users/%7Buser%7D/metadata': %7B%0A%09%09methods: %7B%0A%09%09%09get: 500,%0A%09%09%7D,%0A%09%7D,%0A%09'roster/users/%7Buser%7D/groups': %7B%0A%09%09methods: %7B%0A%09%09%09get: 500,%0A%09%09%7D,%0A%09%7D,%0A%09alert: %7B%0A%09%09methods: %7B%0A%09%09%09get: 200,%0A%09%09%7D,%0A%09%7D,%0A%09users: %7B%0A%09%09methods: %7B%0A%09%09%09post: 4
+oauth2/baseUrl': %7B%0A%09%09methods: %7B%0A%09%09%09get: 200,%0A%09%09%7D,%0A%09%7D,%0A%09roster: %7B%0A%09%09methods: %7B%0A%09%09%09get: 200,%0A%09%09%7D,%0A%09%7D,%0A%09alert: %7B%0A%09%09methods: %7B%0A%09%09%09get: 2
 00,%0A
@@ -924,70 +924,8 @@
 %09%7D,%0A
-%09accounts: %7B%0A%09%09methods: %7B%0A%09%09%09get: 400,%0A%09%09%09post: 400,%0A%09%09%7D,%0A%09%7D,%0A
 %09has
@@ -1018,98 +1018,8 @@
 %09%7D,%0A
-%09sync: %7B%0A%09%09methods: %7B%0A%09%09%09get: 400,%0A%09%09%7D,%0A%09%7D,%0A%09mails: %7B%0A%09%09methods: %7B%0A%09%09%09post: 500,%0A%09%09%7D,%0A%09%7D,%0A
 %7D;%0A%0A

remove multiple whitelist routes which should not be whitelisted