smarcet 600b417929 Company CRUDS
get all

GET api/v1/companies

add

POST api/v1/companies

payload

'name' => 'required|string',
'url' => 'nullable|url',
'display_on_site' => 'nullable|boolean',
'featured' => 'nullable|boolean',
'city' => 'nullable|string',
'state' => 'nullable|string',
'country' => 'nullable|string',
'description' => 'nullable|string',
'industry' => 'nullable|string',
'products' => 'nullable|string',
'contributions' => 'nullable|string',
'contact_email' => 'nullable|email',
'member_level' => 'nullable|string',
'admin_email' => 'nullable|email',
'color' => 'nullable|hex_color',
'overview' => 'nullable|string',
'commitment' => 'nullable|string',
'commitment_author' => 'nullable|string',

update

PUT api/v1/companies/{id}

'name' => 'sometimes|string',
'url' => 'nullable|url',
'display_on_site' => 'nullable|boolean',
'featured' => 'nullable|boolean',
'city' => 'nullable|string',
'state' => 'nullable|string',
'country' => 'nullable|string',
'description' => 'nullable|string',
'industry' => 'nullable|string',
'products' => 'nullable|string',
'contributions' => 'nullable|string',
'contact_email' => 'nullable|email',
'member_level' => 'nullable|string',
'admin_email' => 'nullable|email',
'color' => 'nullable|hex_color',
'overview' => 'nullable|string',
'commitment' => 'nullable|string',
'commitment_author' => 'nullable|string',

delete

DELETE api/v1/companies/{id}

get

GET api/v1/companies/{id}

add logo

POST api/v1/companies/{id}/logo

payload

file

delete logo

DELETE api/v1/companies/{id}/logo

add big logo

api/v1/companies/{id}/logo/big

payload

file

delete big logo

DELETE api/v1/companies/{id}/logo/big

Change-Id: Idac203571b31af6141f06d35bf1d3131a4636182
Signed-off-by: smarcet <smarcet@gmail.com>
2020-10-01 11:05:55 -03:00
..
2018-11-23 11:50:55 -03:00
2018-11-23 11:50:55 -03:00
2018-11-23 11:50:55 -03:00
2018-11-23 11:50:55 -03:00
2018-11-23 11:50:55 -03:00
2018-11-23 11:50:55 -03:00
2019-09-09 22:41:48 -03:00
2018-11-23 11:50:55 -03:00
2018-11-23 11:50:55 -03:00
2019-06-03 19:20:15 -03:00
2020-10-01 11:05:55 -03:00
2020-10-01 11:05:55 -03:00
2018-11-23 11:50:55 -03:00
2016-11-04 17:07:57 -03:00
2018-11-23 11:50:55 -03:00